|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7053 after second include() or require() of the same file php does not set __FILE__
Submitted: 2000-10-06 03:39 UTC Modified: 2000-10-28 23:56 UTC
From: mranner at jawa dot at Assigned:
Status: Closed Package: *Function Specific
PHP Version: 4.0.2 OS: FreeBSD 4.1
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:
From: mranner at jawa dot at
New email:
PHP Version: OS:


 [2000-10-06 03:39 UTC] mranner at jawa dot at
// includes file
echo "my name is " . __FILE__;

// includer main.php


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-10 08:34 UTC]
Failed to reproduce on current CVS. Please check the current CVS or 4.0.3
 [2000-10-28 23:56 UTC]
No feedback. Please update to PHP 4.0.3pl1 and reopen
this bug report if problem still exists with it.


PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Jun 03 19:01:24 2020 UTC