Bug #14111 Updated: file_exists() prints a warning when it shouldn't

From: Date: Mon, 19 Nov 2001 11:01:20 +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-70893@lists.php.net to get a copy of this message
ID: 14111 Updated by: derick Reported By: cech@debian.org Status: Assigned Bug Type: *Directory/Filesystem functions Operating System: Debian PHP Version: 4.1.0RC1 Old Assigned To: derick Assigned To: sterling New Comment: Assigning this to sterling, he 'fixed' the fix. Previous Comments: ------------------------------------------------------------------------ [2001-11-19 05:53:10] derick@php.net Ok, I'll check it out ------------------------------------------------------------------------ [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

« previous php.dev (#70893) next »