Re: fcall_begin_handler_func_t (Zend extensions)

From: Date: Mon, 03 Sep 2001 16:36:58 +0000
Subject: Re: fcall_begin_handler_func_t (Zend extensions)
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-64979@lists.php.net to get a copy of this message
object.ptr is supposed to point to the object you are calling. It would be something like object.ptr->obj.ce->name. Anyway I think that's pretty much it without checking the code.

Andi

At 03:20 PM 9/3/2001 +0100, Wez Furlong 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? -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


Thread (5 messages)

« previous php.dev (#64979) next »