From:             [EMAIL PROTECTED]
Operating system: Debian
PHP version:      4.1.0RC1
PHP Bug Type:     *Directory/Filesystem functions
Bug description:  file_exists() prints a warning when it shouldn't

Running this code



<?file_exists("/etc/passwd/bla");?>



(where /etc/passwd exists for those non-UNIX people)



gives this warning



Warning: stat failed for /etc/passwd/bla (errno=20 - Not a directory) in
....





This worked in 4.0.6 and doesn't in 4.1.0RC (1 and 2). It's been reported
as #114409 in Debian with a patch
-- 
Edit bug report at: http://bugs.php.net/?id=14109&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to