Resource management abstraction for PHP.