[PHP-DEV] PHP 4.0 Bug #7053: after second include() or require() of the same file php does not set __FILE__ From: mranner <email protected>
Date: 10/06/00

From: mranner <email protected>
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");
?>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>