On 09.12.2008, at 20:50, Gregory Beaver wrote:
file, it should only be used to find existing files. In any case, I think allowing include_path to be used at all for file modification is horrendous, and think it should be deprecated and removed from PHP 6. We should simply add file_resolve_path() function which can be used to locate a file.
Since we have stream_resolve_include_path(), I guess we can make this suggestion a reality. Deprecate the ability to mess with the include path in fopen()/ file_get_contents() or any other method/function that can do write operations. this btw imho also includes the cases when these functions (for example fopen()) are using in read mode.
Speak now or forever hold your peace .. regards, Lukas Kahwe Smith m...@pooteeweet.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php