使用包装器的PHP函数

| 我正在升级PHP代码库以使其能够在PHP5.3 +上运行,并且需要使用包装的函数列表。 http://www.php.net/manual/zh/wrappers.php 此页面提及; fopen(),copy(),file_exists()和filesize()。我知道事实上还有其他功能。 file_get_contents(),file()等。 有人有完整的清单吗?还是一种简单的方法来通过目录“ grep \”使用包装器查找功能?     
已邀请:
        grep用于
php_stream_open_wrapper_ex
调用的php源,它应该给出直接与包装程序交互的
PHP_FUNCTION
。 粗略且可能部分错误的列表(
-B 100
不准确):
$ find . -name \'*.c\'| xargs grep -B 100 php_stream_open_wrapper_ex| grep PHP_FUNCTION
./ext/standard/url.c-PHP_FUNCTION(rawurlencode)
./ext/standard/url.c-PHP_FUNCTION(rawurldecode)
./ext/standard/url.c-PHP_FUNCTION(get_headers)
./ext/standard/file.c-PHP_FUNCTION(file_get_contents)
./ext/standard/file.c-PHP_FUNCTION(file_put_contents)
./ext/standard/file.c-PHP_FUNCTION(file)
./ext/standard/file.c-PHP_FUNCTION(tempnam)
./ext/standard/file.c-PHP_FUNCTION(mkdir)
./ext/standard/file.c-PHP_FUNCTION(rmdir)
./ext/standard/file.c-PHP_FUNCTION(readfile)
./ext/oci8/oci8_interface.c-PHP_FUNCTION(oci_lob_export)
./ext/hash/hash.c-PHP_FUNCTION(hash)
./ext/hash/hash.c-PHP_FUNCTION(hash_file)
./ext/hash/hash.c-PHP_FUNCTION(hash_update)
./ext/hash/hash.c-PHP_FUNCTION(hash_update_stream)
./ext/hash/hash.c-PHP_FUNCTION(hash_update_file)
    

要回复问题请先登录注册