Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14764 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78373 invoked by uid 1010); 9 Feb 2005 17:50:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 78358 invoked from network); 9 Feb 2005 17:50:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2005 17:50:31 -0000 X-Host-Fingerprint: 80.91.229.2 main.gmane.org Linux 2.4/2.6 Received: from ([80.91.229.2:34583] helo=ciao.gmane.org) by pb1.pair.com (ecelerity HEAD (r4105:4106)) with SMTP id A4/20-30278-66D4A024 for ; Wed, 09 Feb 2005 12:50:30 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1CyvxF-0005Mc-Fh for internals@lists.php.net; Wed, 09 Feb 2005 18:48:45 +0100 Received: from p3ee22fe8.dip.t-dialin.net ([62.226.47.232]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Feb 2005 18:48:45 +0100 Received: from sb by p3ee22fe8.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Feb 2005 18:48:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Wed, 09 Feb 2005 18:50:09 +0100 Lines: 16 Message-ID: References: <20050209055745.928.qmail@web50206.mail.yahoo.com> <20050209155704.61669.qmail@lists.php.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: p3ee22fe8.dip.t-dialin.net User-Agent: Mozilla Thunderbird 1.0 - [MOOX M3] (Windows/20041208) X-Accept-Language: en-us, en In-Reply-To: <20050209155704.61669.qmail@lists.php.net> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Sender: news X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-MailScanner-From: php-php-dev@m.gmane.org X-MailScanner-To: internals@lists.php.net Subject: Re: [PHP-DEV] Re: intercepting function calls From: sb@sebastian-bergmann.de (Sebastian Bergmann) 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