Re: Catchable - marking methods just like static?

From: Date: Wed, 04 Apr 2012 02:59:23 +0000
Subject: Re: Catchable - marking methods just like static?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-59349@lists.php.net to get a copy of this message
On 04/03/2012 07:02 PM, Alan Knowles wrote: > I just saw Daniel changing some of the PEAR classes to use Exceptions, > and it's pretty clear that this could cause havoc with the end users. > The problem being that there is no 'soft' landing for the migration > process. > > Users switching code from return style error handling to exceptions are > not given any hints about what would be affected, and what may need fixing. Couldn't you just use a default exception handler via set_exception_handler() to implement a "soft landing" mechanism? -Rasmus

« previous php.internals (#59349) next »