Re: [PHP4BETA] Finding out function name

From: Date: Fri, 10 Mar 2000 15:45:18 +0000
Subject: Re: [PHP4BETA] Finding out function name
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-11872@lists.php.net to get a copy of this message
> > is it possible for a C function in an extension to find out under > > which name it had been called from the php code ? > > > > (something similar to argv[0] in C programs) > > get_active_function_name(). The question is not to find the function name, but actually the file name the flex is parsing! Enjoy! P.S. get_active_function_name() doesn't work on PHP4b4pl1

« previous php.version4 (#11872) next »