Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12810 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57401 invoked by uid 1010); 14 Sep 2004 17:35:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 51309 invoked from network); 14 Sep 2004 17:35:06 -0000 Received: from unknown (HELO mail.zend.com) (80.74.107.235) by pb1.pair.com with SMTP; 14 Sep 2004 17:35:06 -0000 Received: (qmail 17863 invoked from network); 14 Sep 2004 17:35:04 -0000 Received: from localhost (HELO AndiNotebook.zend.com) (127.0.0.1) by localhost with SMTP; 14 Sep 2004 17:35:04 -0000 Message-ID: <5.1.0.14.2.20040914103423.035a6520@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 14 Sep 2004 10:35:01 -0700 To: "Sara Golemon" ,internals@lists.php.net In-Reply-To: <20040914050752.16425.qmail@pb1.pair.com> References: <20040909183405.63450.qmail@pb1.pair.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] PHP's error handler: xmlrpc_errors, entity encoding, and handler chaining From: andi@zend.com (Andi Gutmans) Personally I prefer today's approach vs. a more complex chaining solution. It only requires an additional if() in your error handler to handle different error codes differently. At 10:07 PM 9/13/2004 -0700, Sara Golemon wrote: > > Having it trickle back through the stack would make sense to me too. > > >http://pecl.org/sara/error_chaining.diff > >Here's the basic idea of what I had in mind. > >This patch is actually not the way I'd like to see it implemented, but >rather the most expedient demonstration as it doesn't involve seriously >changing the way error handlers are registered and stored. And anyway, it's >functional. > >-Sara > > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php