#19934 [Opn->Bgs]: file_exists($filename) returns true for an empty filename

From: Date: Wed, 16 Oct 2002 14:30:58 +0000
Subject: #19934 [Opn->Bgs]: file_exists($filename) returns true for an empty filename
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22576@lists.php.net to get a copy of this message
ID: 19934 Updated by: derick@php.net Reported By: u15116@hs-harz.de -Status: Open +Status: Bogus Bug Type: Filesystem function related Operating System: Windows XP Professional PHP Version: 4.2.0 New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2002-10-16 09:24:40] u15116@hs-harz.de The file_exists($filename) returns true for an empty or unset variable $filename. When trying to open that file via fopen($filename) PHP answers : fopen( , "r") No error on line sth. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19934&edit=1

« previous php.bugs (#22576) next »