|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14108 file_exists() prints a warning when it shouldn't
Submitted: 2001-11-19 05:35 UTC Modified: 2001-11-19 05:37 UTC
From: cech at debian dot org Assigned:
Status: Not a bug Package: *Directory/Filesystem functions
PHP Version: 4.1.0RC1 OS: Debian
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.
Bug Type:
From: cech at debian dot org
New email:
PHP Version: OS:


 [2001-11-19 05:35 UTC] cech at debian dot org
Running this code


(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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-19 05:37 UTC]
Submitting once is enough
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Dec 04 09:01:26 2023 UTC