Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77791 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24130 invoked from network); 6 Oct 2014 21:53:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Oct 2014 21:53:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.176 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.212.176 mail-wi0-f176.google.com Received: from [209.85.212.176] ([209.85.212.176:64980] helo=mail-wi0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 19/63-30869-76F03345 for ; Mon, 06 Oct 2014 17:53:44 -0400 Received: by mail-wi0-f176.google.com with SMTP id hi2so6022285wib.9 for ; Mon, 06 Oct 2014 14:53:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=HvEn5BvxFOQaD4N2IpzHDg6ySOFZOwZDUGZ2yAaOV1U=; b=xhxPfqIcQOXqlvJCWtC0ytDKM3aql9LQuZfu+t7GZ6pttpyTGl3BUcc8MKy5mMzA+P 1zCe1lIsKFEllaczWGXhgQIU4m01sZL/hZLhUdTdzEZTPSTHVecgNeP46gn8lLSIHGnD ChZEoX6GIe+LLDjwo7hXdqMjGE+ikSrsIgGykkaUryVg+L3YBYzyELyFCYNlvb9Rpjzu Ix0uA+l+YLmAgaVh4hbOjKsiY/3+OSW1ZX2iXUDKei2aIs+4lWc4/GPutjmR7MdX2lJ1 q0t8As5NJcgPGTvUqsCDTO6l7mi17CT973VSNmUKn33zSYlG3uXkXsTuti15/LLcmwuL 9H/g== MIME-Version: 1.0 X-Received: by 10.194.119.9 with SMTP id kq9mr32625020wjb.25.1412632420043; Mon, 06 Oct 2014 14:53:40 -0700 (PDT) Received: by 10.27.10.79 with HTTP; Mon, 6 Oct 2014 14:53:40 -0700 (PDT) Date: Mon, 6 Oct 2014 23:53:40 +0200 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary=089e0118451e9850340504c81d02 Subject: [RFC] Exceptions in the engine From: nikita.ppv@gmail.com (Nikita Popov) --089e0118451e9850340504c81d02 Content-Type: text/plain; charset=UTF-8 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 --089e0118451e9850340504c81d02--