Hi,

This is probably more for Andi and Zeev, but I thought I'd
ask here in case someone else knows...

In a Zend extension in the fcall_begin_handler_func_t, is it
possible to get the name of the function being called?

>From what I can make of the Zend engine (zend_execute.c),
in order to get the name I need the zend_op_array and a
temp_variable and use the index provided by the opcode into
that temp_variable (get_object_zval_ptr).

Am I correct?  I thought of trying get_active_function_name(),
but it appears that this hasn't been setup at the time of the
fcall_begin_handler.

Is there a way to do this?  It's for a call stack dump, but it's
not that important (especially since I heard that Engine 2 will
have this).  It'd would be helpful to me while I develop in the
meantime.

--Wez.


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to