Re: Re: getting a function name of the calling function

From: Date: Thu, 02 May 2002 23:14:54 +0000
Subject: Re: Re: getting a function name of the calling function
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-95794@lists.php.net to get a copy of this message
In article <Pine.LNX.4.44.0205021752550.17412-100000@stoic.net>, mnc@stoic.net (Miguel Cruz) wrote: > I'm guessing he wants to do something like a stack trace to figure out how > a function managed to get itself called with bad data. > > With utility functions that may get called hundreds of times in a single > run, that would be some really handy stuff. Being able to trace which function called another would be very useful. (The OP just wanted a constant like __FILE__ to identify the current function in an error message.) -- CC

« previous php.general (#95794) next »