Re: fcall_begin_handler_func_t (Zend extensions)
| From: | Wez Furlong | Date: | Mon, 03 Sep 2001 15:46:43 +0000 |
| Subject: | Re: fcall_begin_handler_func_t (Zend extensions) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-64972@lists.php.net to get a copy of this message | ||
Got it.
I was too busy trying to get the info from the op_array to
realize that CG and EG were where I should be looking...
--Wez.
On 03/09/01, "Wez Furlong" <wez@thebrainroom.com> wrote:
> OK,
>
> I found op_array->function_name but had discarded it because copying
> it was causing segfaults (I don't know why).
> So, I sprintf it into a stack buffer and then dup that (all using malloc).
>
> Now, the question is, how do I get the class name for a method call?
>
> --Wez.
>
> On 03/09/01, "Wez Furlong" <wez@thebrainroom.com> wrote:
> > In a Zend extension in the fcall_begin_handler_func_t, is it
> > possible to get the name of the function being called?