Bug #14111 Updated: file_exists() prints a warning when it shouldn't
| From: | derick@php.net | Date: | Mon, 19 Nov 2001 10:53:10 +0000 |
| Subject: | Bug #14111 Updated: file_exists() prints a warning when it shouldn't | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70891@lists.php.net to get a copy of this message | ||
ID: 14111
Updated by: derick
Reported By: cech@debian.org
Old Status: Open
Status: Assigned
Bug Type: *Directory/Filesystem functions
Operating System: Debian
PHP Version: 4.1.0RC1
Old Assigned To:
Assigned To: derick
New Comment:
Ok, I'll check it out
Previous Comments:
------------------------------------------------------------------------
[2001-11-19 05:47:06] cech@debian.org
http://bugs.debian.org/114409
------------------------------------------------------------------------
[2001-11-19 05:40:05] derick@php.net
Can you provide an URL to that Debian bugreport?
------------------------------------------------------------------------
[2001-11-19 05:35:57] cech@debian.org
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 this bug report at http://bugs.php.net/?id=14111&edit=1