Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83223 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87929 invoked from network); 19 Feb 2015 16:45:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2015 16:45:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=jonwage@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jonwage@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.175 as permitted sender) X-PHP-List-Original-Sender: jonwage@gmail.com X-Host-Fingerprint: 209.85.217.175 mail-lb0-f175.google.com Received: from [209.85.217.175] ([209.85.217.175:35766] helo=mail-lb0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/C3-18870-13316E45 for ; Thu, 19 Feb 2015 11:45:39 -0500 Received: by lbjb6 with SMTP id b6so1029199lbj.2 for ; Thu, 19 Feb 2015 08:45:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=riGCgu1QLapeEEBeE2E+HH4nYNgfnqYdjW8hDlz0EZY=; b=LJzAWAPx3KjT0A/hn9h3Jtsf+H3x8PDThkkV/BQeMQZ+seBlX3E1jmt+/mAyr1FWR8 PaPkFcEsc7PpI+KfGGNgUocP9RhilA2h9t+k9IXDg0XRcdkqiQ+rSpz7yeB6d9M9M5bK MYwY6dGAOIM9M/3dcbXuZlDTqo7WIN4zlbeQ+E6+/oBGgRhI0ch83qHdypWos0tgaFy+ PrHRdUGzyvkGrHN0oBEsMKbnbnmpdWNVV2MIDx0PQwFX3tfAnw9YTAZB5v4USaRQGmyz JsCsfeGavG31aCwQOFNR3R/LMuseidDq3W97syqbIww0SazNdV0dEbQueYeWPVS/bRY+ A6ig== X-Received: by 10.112.147.66 with SMTP id ti2mr4846225lbb.124.1424364334963; Thu, 19 Feb 2015 08:45:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.34.228 with HTTP; Thu, 19 Feb 2015 08:45:14 -0800 (PST) In-Reply-To: References: Date: Thu, 19 Feb 2015 10:45:14 -0600 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: multipart/alternative; boundary=047d7b3a86903760a2050f73aa23 Subject: Re: [PHP-DEV] [RFC] Exceptions in the engine From: jonwage@gmail.com (Jonathan Wage) --047d7b3a86903760a2050f73aa23 Content-Type: text/plain; charset=UTF-8 I am not familiar with the implementation details but from my perspective this would be a nice improvement. I have had a difficult time debugging PHP fatal errors over the years and I think this kind of change would help improve that. On Mon, Oct 6, 2014 at 4:53 PM, Nikita Popov wrote: > 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 > -- Connect with me on *http://twitter.com/jwage* --047d7b3a86903760a2050f73aa23--