|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10644 __FILE__ missing path delimiters
Submitted: 2001-05-03 15:16 UTC Modified: 2001-05-05 19:52 UTC
From: Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.5 OS: Linux (Debian) 2.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2001-05-03 15:16 UTC]
With 4.0.6 latest cvs (not 4.0.5; is there a reason the latest cvs option in the versions menu is dated March?), __FILE__ is returning the filename with no path delimiters. For example, if the script is /var/www/foo.php, __FILE__ contains 'varwwwfoo.php'.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-03 15:59 UTC]
I also encountered this.
 [2001-05-05 18:13 UTC]
Should be fixed in latest CVS.
Please make sure you update TSRM.
 [2001-05-05 19:52 UTC]
fix confirmed. thanks!
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Mar 07 04:01:23 2021 UTC