Re: [PHP-DEV] Re: [VOTE] Abstract Syntax Tree
[email protected] (Trevor Suarez)
| Newsgroups | php.internals |
|---|---|
| Message-ID | <CAHXmDMB5WZWuQugA1UO-xPX9JFWn228+kSk+jwwUuEOKQUbfpA@mail.gmail.com> |
> > 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