Re: [RFC] Exceptions in the engine
| From: | Larry Garfield | Date: | Thu, 24 Oct 2013 22:31:17 +0000 |
| Subject: | Re: [RFC] Exceptions in the engine | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-69859@lists.php.net to get a copy of this message | ||
On 10/24/13 12:41 PM, 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: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