Yes - __FUNCTION__ would hold ( string )[function name]

"Peter Beckman" <[EMAIL PROTECTED]> wrote in message
> Is there some sort of master variable which will tell you which function
> you are currently in?
> Like __FUNCTION__ like there is for __FILE__ and __LINE__... Something
> that.  Even a function that does that?
> I am writing a program in which several functions refer back to themselves
> by name, and it'd be nice to be able to do it dynamically.  If I change a
> function name, then I have to change (currently) the string that contains
> the function name within that function.
> Peter
> --------------------------------------------------------------------------
> Peter Beckman                                                  Internet
> --------------------------------------------------------------------------

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to