AW: [PHP-DEV] [RFC] Exceptions in the engine

From: Date: Thu, 26 Feb 2015 08:51:28 +0000
Subject: AW: [PHP-DEV] [RFC] Exceptions in the engine
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-83876@lists.php.net to get a copy of this message
Hi Nikita > -----Ursprüngliche Nachricht----- > Von: Nikita Popov [mailto:nikita.ppv@gmail.com] > Gesendet: Montag, 6. Oktober 2014 23:54 > An: PHP internals > Betreff: [PHP-DEV] [RFC] Exceptions in the engine > > Hi internals! > > During the PHP 5.6 development cycle I have proposed an RFC [1] that suggested the use of > exceptions instead of fatal > errors in the engine. At the time the proposal was declined, because the change was judged too > intrusive for a minor > version. > > 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. > > Thanks, > Nikita > > [1]: https://wiki.php.net/rfc/engine_exceptions Sorry, I am a little bit late with this one and I think it should not obstruct the vote in any way. Will it be possible for a user to instantiate the new Exception classes? Cheers, Robert

« previous php.internals (#83876) next »