AW: file_exists() and safe_mode

From: Date: Tue, 05 Sep 2006 15:51:26 +0000
Subject: AW: file_exists() and safe_mode
Groups: php.internals 
Request: Send a blank email to internals+get-25531@lists.php.net to get a copy of this message
> i dont think this is a recent change. i think its only an > oversite in the documentation. mp@appr:~$ php ./bug.php 5.1.4 string(0) "" bool(true) bool(true) mp@appr:~$ 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.

« previous php.internals (#25531) next »