Re: [RFC] Exceptions in the engine
| From: | Yasuo Ohgaki | Date: | Sat, 14 Feb 2015 00:09:55 +0000 |
| Subject: | Re: [RFC] Exceptions in the engine | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-82651@lists.php.net to get a copy of this message | ||
Hi Nikita,
On Tue, Oct 7, 2014 at 6:53 AM, Nikita Popov <nikita.ppv@gmail.com> wrote:
> As such I'm re-proposing this RFC for inclusion in PHP 7:
>
> https://wiki.php.net/rfc/engine_exceptions_for_php7
>
> The RFC text is essentially the same as previously, with the primary
> difference being that parse errors are now converted to exceptions as well.
> This was previously not possible due to limitations in the compiler design.
>
Are E_WARNING, etc future scope?
I briefly looked the patch. It seems it covers only engine errors.
I suppose it's the scope of this RFC, though.
If API is made adoptable to modules for E_WARNING, etc, it would be
great.
Anyway, +1
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net