Re: include file identifier

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Lynch wrote:
> On Sat, February 3, 2007 7:05 pm, Eli wrote:
>> Does any included file in PHP have a unique identifier? (like a stack
>> of
>> includes identifier).
>
> Down in the guts of PHP source, there may be some kind of file handler
> which is unique...

Actually, that's what I need.
I want to know which "instance" of the file is running.. __FILE__ only gives the filename, but if the file is included in itself, there's no way to distinct which "instance" of them is currently running..

The base reason for this is storing some extra environment data on each file included..


-thanks, Eli

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux