Re: Exceptions and a real example: Tidy

From: Date: Fri, 16 Apr 2004 16:44:25 +0000
Subject: Re: Exceptions and a real example: Tidy
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-9266@lists.php.net to get a copy of this message
On Fri, 16 Apr 2004, Christian Schneider wrote: > John Coggeshall wrote: > > the best compromise I can reach without discarding exceptions entirely, > > which I believe is even more wrong for OO code. > > I disagree. I lost track over the last couple of days, what is everyone > else's view on this? I disgree with this behavior too. E_WARNINGs were never supposed to abort a script, that's what we have E_ERRORs for. (Making E_ERROR an exception in an OO context is fine, as when it's unhandled it should abort the script, just like in PHP 4 and all other non-oo extensions). Derick

« previous php.internals (#9266) next »