[PHP] Re: Classes and Functions

2009-12-28 Thread Daniel Kolbo
Nathan Rixham wrote: > Daniel Kolbo wrote: >> Hello, >> >> Is there a way to see what objects and functions a script >> loaded/required/used? >> >> I could recursively loop through the globals, but if objects were unset, >> then i may miss some. >> >> I could make a 'tracking' object and every time

[PHP] Re: Classes and Functions

2009-11-04 Thread Nathan Rixham
Daniel Kolbo wrote: Hello, Is there a way to see what objects and functions a script loaded/required/used? I could recursively loop through the globals, but if objects were unset, then i may miss some. I could make a 'tracking' object and every time i load/include a file (which contains a clas

[PHP] Re: classes and functions in include files

2003-02-27 Thread David Eisenhart
yes (as has been said); the code in the included file adopts 'the scope in the place at the point of the include statement'. Hence if you were to put the the include statement in a function the vars in the included file would have the scope of that function; included outside a function they'll have

[PHP] Re: classes and functions in include files

2003-02-27 Thread rush
"Sunfire" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > just a fast question here.. and the lotic probably isnt to bright on my part > and i think i know the answer to this question too but just to make sure... > if you can include variables in an include file and use them outside t

[PHP] Re: Classes and functions

2001-11-28 Thread Roko Roic
> I'm writing a class for POP3 access and I want some of the internal > functions to be private, like the mime decoding stuff. > > Is there any way to do this? I found nothing in the docs :( Unfortunately, PHP does not understand terms private, public, protected... PHP coders adopted a coding sta