Re: [PHP-DEV] Re: is_readable and include path

2006-10-18 Thread Ilia Alshanetsky
-1 for the idea. I think using include_path for realpath() goes against the code logic that should be applied by realpath. Ilia Alshanetsky -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: is_readable and include path

2006-10-18 Thread Ralph Schindler
Is it worth even attempting to create a patch and submitting it to do the following: string realpath ( string path [, bool use_include_path]) or will it be shot down? There must be a way to find the full path to a file that resides in one of the include paths no? I can understand not wanti

Re: [PHP-DEV] Re: is_readable and include path

2006-10-08 Thread Ralph Schindler
Sara Golemon wrote: bool is_readable ( string filename [, bool use_include_path] ) we can always dream .. I prefer the word "mature" instead of dream ;) How about something which will save having to resolve that path twice? $realpath = stream_resolve_include_path($relativepath); if ($re