Re: Re: intercepting function calls
| From: | Sebastian Bergmann | Date: | Wed, 09 Feb 2005 17:50:09 +0000 |
| Subject: | Re: Re: intercepting function calls | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-14764@lists.php.net to get a copy of this message | ||
Sara Golemon wrote:
> typedef void (*fcall_begin_handler_func_t)(zend_op_array *op_array);
> typedef void (*fcall_end_handler_func_t)(zend_op_array *op_array);
>
> struct _zend_extension {
> ...
> fcall_begin_handler_func_t fcall_begin_handler;
> fcall_end_handler_func_t fcall_end_handler;
> ...
> };
What about patching __call() so that it is always called?
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69