fcall_begin_handler_func_t (Zend extensions)

From: Date: Mon, 03 Sep 2001 12:09:38 +0000
Subject: fcall_begin_handler_func_t (Zend extensions)
Groups: php.dev 
Request: Send a blank email to php-dev+get-64949@lists.php.net to get a copy of this message
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.

« previous php.dev (#64949) next »