Re: [RFC] Exceptions in the engine

From: Date: Thu, 24 Oct 2013 17:56:55 +0000
Subject: Re: [RFC] Exceptions in the engine
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-69848@lists.php.net to get a copy of this message
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

« previous php.internals (#69848) next »