PHP Php-ffi Resources