"Miguel Cruz" <[EMAIL PROTECTED]> wrote:
[snip]
> 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
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (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
On Wed, 1 May 2002, CC Zona wrote:
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Joshua E Minnie) wrote:
>
> > Does anybody know of any constants or predefined functions that will
> > retrieve the calling functions name? For example:
> >
> > > function new_func($somedata) {
> > ech
> > Does anybody know of any constants or predefined functions that will
> > retrieve the calling functions name? For example:
> >
> > > function new_func($somedata) {
echo "I am function " . __FUNCTION__;
> > echo "I am function ".get_func_name();
> > }
> > ?>
__FUNCTION__ will exis
4 matches
Mail list logo