php.net |  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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mranner at jawa dot at
New email:
PHP Version: OS:

 

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

<?
// includer main.php
include("include.inc");
include("include.inc");
?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 06:01:29 2024 UTC