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
 [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

Pull Requests

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: Thu Nov 07 20:01:29 2024 UTC