I am in the process of upgrading a PHP code base to be able to run on PHP5.3+ and I need a list of functions that make use of wrappers.
http://www.php.net/manual/en/wrappers.php
This page mentions; fopen(), copy(), file_exists() and filesize(). I know for a fact that there are other functions; file_get_contents(), file() and others.
Does anyone has a complete list? Or perhaps an easy way to “grep” through a directory to look for functions using wrappers?
grep the php source for
php_stream_open_wrapper_excalls, which should give thePHP_FUNCTIONs that directly interact with wrappers.A rough and probably partially wrong list (
-B 100is not exact):