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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: u15116 at hs-harz dot de
New email:
PHP Version: OS:

 

 [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: Sat Apr 20 02:01:29 2024 UTC