|  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
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: 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-2019 The PHP Group
All rights reserved.
Last updated: Sat Aug 24 13:01:27 2019 UTC