Re: Re: [VOTE] Abstract Syntax Tree
| From: | Trevor Suarez | Date: | Mon, 25 Aug 2014 22:03:12 +0000 |
| Subject: | Re: Re: [VOTE] Abstract Syntax Tree | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76873@lists.php.net to get a copy of this message | ||
>
> If we're talking the plunge of putting exceptions into the core engine,
> wouldn't it make sense to convert most of the fatal errors (especially
> the "catchable" ones) to exceptions too? Most of them (except for out of
> memory, timeouts and such) don't really require the engine to shut down,
> as it seems... So if we're already saying people will have to deal with
> exceptions in PHP engine anyway, maybe we could make it so that we could
> have unified handling of them?
This is something that Nikita had originally proposed in an RFC (
https://wiki.php.net/rfc/engine_exceptions)
but postponed until after 5.6.
I have a feeling we'll be hearing about its resurrection soon enough.
- Trevor