Re: PHP's error handler: xmlrpc_errors, entity encoding, and handler chaining

From: Date: Tue, 14 Sep 2004 17:35:01 +0000
Subject: Re: PHP's error handler: xmlrpc_errors, entity encoding, and handler chaining
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-12810@lists.php.net to get a copy of this message
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


« previous php.internals (#12810) next »