php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19934 file_exists($filename) returns true for an empty filename
Submitted: 2002-10-16 09:24 UTC Modified: 2002-10-16 09:30 UTC
From: u15116 at hs-harz dot de Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 4.2.0 OS: Windows XP Professional
Private report: No CVE-ID: None
 [2002-10-16 09:24 UTC] u15116 at hs-harz dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-16 09:30 UTC] derick@php.net
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.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 06:01:29 2024 UTC