Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78973 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67975 invoked from network); 18 Nov 2014 23:30:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2014 23:30:35 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.179 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.212.179 mail-wi0-f179.google.com Received: from [209.85.212.179] ([209.85.212.179:63264] helo=mail-wi0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/FB-06737-A96DB645 for ; Tue, 18 Nov 2014 18:30:35 -0500 Received: by mail-wi0-f179.google.com with SMTP id ex7so38230wid.0 for ; Tue, 18 Nov 2014 15:30:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=An0ITRSx2PbDXBnv/PmLsfs3jieAfllHb71ZyXgEwNQ=; b=Ktvwa0pm5QwFizbt0MDJLSMh65ikdTi5sMTpq/xzFVUDmhbj+aCiLr/WAo08V3CD3h P3jhw/qSeOyng9SDjpW2Ia+eu+apXnvfqV+DMJAlw60bFC6eJ4jTUqFjqqja+UhXbMkm Zx08aeTJFSXF2w3+K1IzuWYoX30dhh8x86H8E/2BXs5dLKQGqv8oIOnGy1ZlhK3RItWJ bQHsTRsTiyPr9me46yLlrPLMvm73ifmPSVpEnen5F7VBia8yFXNxuQ+0M2F64XH2+TAJ OdvRWdLj6h8kZ7G+HguWcFr60mTyetzhQpoyUu/N0vwEzaAWryEJG95/fKbnq8+tKAML 7HoA== X-Received: by 10.194.176.100 with SMTP id ch4mr52838377wjc.101.1416353432291; Tue, 18 Nov 2014 15:30:32 -0800 (PST) Received: from [192.168.0.2] (cpc68956-brig15-2-0-cust215.3-3.cable.virginm.net. [82.6.24.216]) by mx.google.com with ESMTPSA id dx8sm779075wib.2.2014.11.18.15.30.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Nov 2014 15:30:31 -0800 (PST) Message-ID: <546BD686.3000407@gmail.com> Date: Tue, 18 Nov 2014 23:30:14 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: internals@lists.php.net References: <546B0F62.1090705@gmail.com> <546B95F2.2050504@gmail.com> <546BBF4F.8040806@gmail.com> <919EDD0D-F0F4-430A-A84B-96A32DF45E7B@ajf.me> <546BCE21.7080403@gmail.com> <546BD0E8.6020609@gmail.com> <546BD206.9040800@gmail.com> <546BD451.4070909@gmail.com> In-Reply-To: <546BD451.4070909@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Default constructors From: rowan.collins@gmail.com (Rowan Collins) On 18/11/2014 23:20, Rowan Collins wrote: > If a fatal error is being raised, it makes (some) sense to skip that > evaluation To be honest, it's a little weird to me that these two programs behave differently: $a = print('hello'); non_existent_function($a); vs non_existent_function( print('hello') ); But relying on the exact behaviour during a fatal error would certainly be ill-advised. -- Rowan Collins [IMSoP]