Bug #14644: file_exists() generates warning on non existent files.

From: Date: Fri, 21 Dec 2001 15:25:40 +0000
Subject: Bug #14644: file_exists() generates warning on non existent files.
Groups: php.dev 
Request: Send a blank email to php-dev+get-74702@lists.php.net to get a copy of this message
From: thomas@xmms.org Operating system: Linux PHP version: 4.1.0 PHP Bug Type: Filesystem function related Bug description: file_exists() generates warning on non existent files. file_exists generates a "stat failed.." warning when the file is nonexistant. This has been reported for is_file/dir/ and friends, and sure, it might be a decent thing to do warning on those, but for this function it's simply mindboggling, the whole idea is that i do not know if the file exists or not. And temporarily setting the report level to something that won't print this warning is not just my cup of tea. Guess I should start preceeding every command with @ (j/k) -- Edit bug report at: http://bugs.php.net/?id=14644&edit=1

« previous php.dev (#74702) next »