I think the current behavior solves made old bug reports, where by people used is_readable() to see if they could read from a file, only to have the operation file due to safe_mode/open_basedir restrictions. Taking the check away would also mean it would be possible to "explore" file file system bypassing PHP's file system restrictions.

Ilia Alshanetsky

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to