Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76880 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87492 invoked from network); 26 Aug 2014 09:50:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Aug 2014 09:50:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.178 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.216.178 mail-qc0-f178.google.com Received: from [209.85.216.178] ([209.85.216.178:42909] helo=mail-qc0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/D0-16612-2585CF35 for ; Tue, 26 Aug 2014 05:50:10 -0400 Received: by mail-qc0-f178.google.com with SMTP id x3so14849666qcv.23 for ; Tue, 26 Aug 2014 02:50:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Mr2lClA8+bwHXcyQPgSsfor33ubByqq3Esz1UrGcMec=; b=oR40Eug5LnvLok6piHfFyeMKfeUeckViPbnpzbTlSV2T7MBERxrk1KbMnoZQpMEOHC tvjloZ9YAOkbexitX3WiVMQL33C7ubWxbsDHSVRb/ANv+4gWk1ki/e8qGzyA9Hg8juU4 Ikn3Qv/M1SDpHFFoTt8tQo5Z6TxF3Cof7af/o0DOWm7mZCSj5xpHQMTzYVBAm1p2DKWt MgtXtsjkp2FZU/3N/UDxK7w4DxJqAIzhzscPPsNt5w7MSpRqS9S0kHzsWkYZjReAUKFD QbDH0qQDe0Q1v1rRSMBTuVlD+Jronb9AOK6Gv+P0OVRstOM5LwltIrSb7wS1n9mVbdCj Vypw== MIME-Version: 1.0 X-Received: by 10.224.136.200 with SMTP id s8mr44433889qat.44.1409046607999; Tue, 26 Aug 2014 02:50:07 -0700 (PDT) Received: by 10.140.80.210 with HTTP; Tue, 26 Aug 2014 02:50:07 -0700 (PDT) In-Reply-To: References: <53FB6D4C.9070705@php.net> <53FBAD09.1080108@sugarcrm.com> <53FBC2E1.2000404@sugarcrm.com> Date: Tue, 26 Aug 2014 11:50:07 +0200 Message-ID: To: Andrea Faulds Cc: Benjamin Eberlei , Stas Malyshev , Trevor Suarez , Nikita Popov , Sebastian Bergmann , PHP internals Content-Type: multipart/alternative; boundary=001a11c2caa28abdf70501853a6d Subject: Re: [PHP-DEV] Re: [VOTE] Abstract Syntax Tree From: tyra3l@gmail.com (Ferenc Kovacs) --001a11c2caa28abdf70501853a6d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Aug 26, 2014 at 1:58 AM, Andrea Faulds wrote: > > On 26 Aug 2014, at 00:53, Benjamin Eberlei wrote: > > > Depends, registering for shutdown handlers and catching fatals is a > pretty > > common thing. If EngineException does not get caught, it should produce > an > > E_FATAL again with the correct error code. > > Exceptions already do this, do they not? I don=E2=80=99t see why those ex= ceptions > would be any different. > people have code out there like this: try { //something stupid } catch (Exception $e) { //do nothing or maybe log it } if we turn fatal errors into Exceptions extending the base Exception class, these Pok=C3=A9mon constructs ("Gotta Catch 'Em All") will will swallow tho= se errors and contrinue the execution, maybe causing more dangerous results(data corruption, etc.) than a simple fatal error could. But these issues was discussed before, so I'm fairly sure that Nikita is aware of those concerns, and let's just wait for him to update his proposal and we can discuss it after it's ready. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --001a11c2caa28abdf70501853a6d--