PHP 4.0 Bug #7053: after second include() or require() of the same file php does not set __FILE__
| From: | mranner at jawa dot at | Date: | Fri, 06 Oct 2000 07:39:56 +0000 |
| Subject: | PHP 4.0 Bug #7053: after second include() or require() of the same file php does not set __FILE__ | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34337@lists.php.net to get a copy of this message | ||
From: mranner@jawa.at
Operating system: FreeBSD 4.1
PHP version: 4.0.2
PHP Bug Type: *Function Specific
Bug description: after second include() or require() of the same file php does not set __FILE__
<?
// includes file include.inc
echo "my name is " . __FILE__;
?>
<?
// includer main.php
include("include.inc");
include("include.inc");
?>