On Mon, February 5, 2007 10:09 am, Craige Leeder wrote:
> On 2/5/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
>> If you want to avoid the overhead of include_once, it's a pretty
>> common practice (borrowed from C .h files) to do:
>
> Just out of curiosity, how much additional overhead are we talki
On 2/5/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
If you want to avoid the overhead of include_once, it's a pretty
common practice (borrowed from C .h files) to do:
Just out of curiosity, how much additional overhead are we talking about?
--
PHP General Mailing List (http://www.php.net/)
To
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.
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...
But nothing I'm aware of exposes this to code in any way,
ot
On Sun, 2007-02-04 at 03:27 +0200, Eli wrote:
> Robert Cummings wrote:
> > Looking at the code above... it would seem you want:
> >
> > include_once()
> It's not the idea..
>
> I'm not trying to make that code work, I want to know which exact
> include (of the same file) does what..
>
> Say
On Saturday 03 February 2007 7:27 pm, Eli wrote:
> Robert Cummings wrote:
> > Looking at the code above... it would seem you want:
> >
> > include_once()
>
> It's not the idea..
>
> I'm not trying to make that code work, I want to know which exact
> include (of the same file) does what..
Huh?
Robert Cummings wrote:
Looking at the code above... it would seem you want:
include_once()
It's not the idea..
I'm not trying to make that code work, I want to know which exact
include (of the same file) does what..
Say you got a loop of self-include:
e.g:
=== a.php
In "(id=X)!".. wha
On Sun, 2007-02-04 at 03:05 +0200, Eli wrote:
> Hello,
>
> Does any included file in PHP have a unique identifier? (like a stack of
> includes identifier).
>
> If the files names are different, then __FILE__ can be used as an
> identifier. But if a file was included by itself, then __FILE__ is
8 matches
Mail list logo