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


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to