Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78975 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72515 invoked from network); 19 Nov 2014 00:15:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Nov 2014 00:15:47 -0000 Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.170 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 209.85.212.170 mail-wi0-f170.google.com Received: from [209.85.212.170] ([209.85.212.170:58278] helo=mail-wi0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2B/AC-06737-131EB645 for ; Tue, 18 Nov 2014 19:15:46 -0500 Received: by mail-wi0-f170.google.com with SMTP id bs8so7948111wib.5 for ; Tue, 18 Nov 2014 16:15:41 -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=4/Nl6TfasE8X59ifsk2h4Gq2jxwD3Sg1P1y8eW1JOfQ=; b=XHWCe+t+ix4cidAd6J9wrSFXvsWlNNpi+Q7tzzOdgJcAsAToFeF2jYJuoNmiYiyHPJ EtCjgj/Hw5F85L07/sADaGwP6bavhYsX/pZ8i4JwORlZ4OidChqp7u4F/fr130j5W/sP VQHDqSPHg8M1+DPlvsaNxL7Qf/QxlyaTBMQWbavx+SMpKQqR4FrUUeg7/XH6Uyp401ko oqvtoC3EfU+RwzRBr1jjlQIby+hNdP1qOCjmlw5mI8EoA1z8g2o7e6cLYfODNmmqHejS dV8na+Cj50SObcbm2Yb/NstIyeg+yl7taA5EM0vL1moI+okioIR9G6WnCPsmEJUwX1bd YMqQ== X-Received: by 10.194.81.6 with SMTP id v6mr51461042wjx.39.1416356141842; Tue, 18 Nov 2014 16:15:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.30.163 with HTTP; Tue, 18 Nov 2014 16:15:21 -0800 (PST) In-Reply-To: <546BDEAE.2010102@gmail.com> 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> <546BDEAE.2010102@gmail.com> Date: Wed, 19 Nov 2014 01:15:21 +0100 Message-ID: To: Stanislav Malyshev Cc: Rowan Collins , PHP Internals List Content-Type: multipart/alternative; boundary=047d7bea3de6b5c90305082b1c5a Subject: Re: [PHP-DEV] [RFC] Default constructors From: ocramius@gmail.com (Marco Pivetta) --047d7bea3de6b5c90305082b1c5a Content-Type: text/plain; charset=UTF-8 On 19 November 2014 01:05, Stanislav Malyshev wrote: > Hi! > > > I'm happy to accept that this is a low-priority, hard-to-fix, bug. I > > just don't see that it can be justified as a feature. > > We can argue semantics of the word "bug" all day long, but the fact is > the functionality as it is is there by an explicit decision - it was > chosen to be this way and no other way, for the reasons I have > described, it was no omission and no unintended side-effect of > something, it was meant to work this way. If you want to call it "hard > to fix bug" knowing this, you're welcome to. > Is there a `.phpt` test-case or discussion backing this? I find this quite hard to believe, especially since following examples are broken in php and working "as expected" (by me) in hhvm: http://3v4l.org/4nhoq Yes, that's a bug :-) Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --047d7bea3de6b5c90305082b1c5a--