Re: RFC: Replacing errors with Exceptions

From: Date: Mon, 27 Jul 2009 02:40:33 +0000
Subject: Re: RFC: Replacing errors with Exceptions
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-45099@lists.php.net to get a copy of this message
On Fri, July 24, 2009 8:43 am, Ben Scholzen 'DASPRiD' wrote: > To you both, this is especially, for library code like Zend Framework. > The library cannot expect the user to have the error handle set, so it > would have to replace the error handler before every line which it > wants > to try {} and reset it after the catch. This is not really a clean > solution, at it can occur pretty often. If your library users can't set an error handler before loading Zend Framework, they have no business using Zend Framework. :-) I know for sure Exceptions aren't going into core PHP. Whether you can/should convince the simple_xml extension developer to convert or not, I dunno. -- Some people ask for gifts here. I just want you to buy an Indie CD for yourself: http://cdbaby.com/search/from/lynch

« previous php.internals (#45099) next »