On Thu, 2013-10-24 at 19:41 +0200, Nikita Popov wrote:
> Hi internals!
> 
> I'd like to propose an RFC, which allows the use of exceptions within the
> engine and also allows changing existing fatal errors to exceptions:

If there is a way to recover from a fatal error it shouldn't be E_ERROR
but E_RECOVERABLE. Catching E_RECOVERABLE is a pita. this should be
replaced by exceptions imo.

E_FATAL should stay for things where it is too much trouble to recover
as the engine is in undefined state.

johannes



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

Reply via email to