Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8921 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31975 invoked by uid 1010); 3 Apr 2004 19:27:01 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 31737 invoked from network); 3 Apr 2004 19:26:59 -0000 Received: from unknown (HELO mail.zend.com) (62.219.226.19) by pb1.pair.com with SMTP; 3 Apr 2004 19:26:59 -0000 Received: (qmail 23789 invoked from network); 3 Apr 2004 19:26:58 -0000 Received: from localhost (HELO AndiNotebook.zend.com) (127.0.0.1) by localhost with SMTP; 3 Apr 2004 19:26:58 -0000 Message-ID: <5.1.0.14.2.20040403212547.023150b0@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 03 Apr 2004 21:26:53 +0200 To: Timm Friebe ,internals@lists.php.net In-Reply-To: <1081016026.868.23.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] set_exception_handler() From: andi@zend.com (Andi Gutmans) References: <1081016026.868.23.camel@localhost> In general, I have no problem with adding this consistency. Where is a reference to $instance held until the exception occurs? I took a quick look and couldn't see it but I'm probably missing something. Andi At 08:13 PM 4/3/2004 +0200, Timm Friebe wrote: >Hello, > >I wanted to check back on the status of my patch to >zend_builtin_functions.c I sent a while ago. It changes >set_exception_handler() to accept the pseudo-type "callable" (instead of >a string referring to a global function). > >Examples: > set_exception_handler('function_name'); > set_exception_handler(array('class_name', 'static_method')); > set_exception_handler(array($instance, 'instance_method')); > >This also makes set_exception_handler() more consistent with all the >other callback functionality, e.g. set_error_handler(). > >Will this patch make it into CVS? > >- Timm > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php