> i dont think this is a recent change. i think its only an 
> oversite in the documentation.

[EMAIL PROTECTED]:~$ php ./bug.php 
5.1.4
string(0) ""
bool(true)
bool(true)

[EMAIL PROTECTED]:~$ php -d safe_mode=1 ./bug.php 
5.1.4
string(1) "1"
bool(true)
bool(true)

With 5.1.4 both file_exists() and is_readable() ignored safe_mode
restrictions, so the docs were wrong for file_exists() (which is what
bug #37987 was about) and correct for is_readable(). Both functions
changed their behaviour, now either this behaviour or is_readable() docs
are wrong.

mp.

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

Reply via email to