Re: [RFC] Exceptions in the engine
| From: | Joe Watkins | Date: | Fri, 25 Oct 2013 13:02:04 +0000 |
| Subject: | Re: [RFC] Exceptions in the engine | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-69864@lists.php.net to get a copy of this message | ||
On 10/24/2013 11:31 PM, Larry Garfield wrote:
On 10/24/13 12:41 PM, Nikita Popov wrote:How could anything be reliant on the behaviour of a fatal error in any meaningful way ?? Cheers JoeHi 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:As a PHP user-space developer I love this idea. However, I share the concern of others here that it could result in BC unpleasantness, even if limited to the E_FATAL and E_RECOVERABLE_FATAL use cases. I don't know off hand how various versions of Drupal would handle this. --Larry Garfieldhttps://wiki.php.net/rfc/engine_exceptionsThis topic has been cropping up in the discussions for several of the recent RFCs and I think the time has come to consider moving away from fatal errors. Thoughts? Thanks, Nikita