Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78963 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47992 invoked from network); 18 Nov 2014 22:54:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2014 22:54:30 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.171 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.171 mail-pd0-f171.google.com Received: from [209.85.192.171] ([209.85.192.171:44510] helo=mail-pd0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0A/77-06737-52ECB645 for ; Tue, 18 Nov 2014 17:54:30 -0500 Received: by mail-pd0-f171.google.com with SMTP id v10so1130670pde.2 for ; Tue, 18 Nov 2014 14:54:26 -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:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=c+QsrjNzBS4EKwPQhlx0Krv2R23QsTC9dI/k9u8/yYk=; b=X55X7VSKef/hi72ECmMX/aY1KsYbTe4EipUq5BMo9xspSNCmBJuGzpIBOysD4hn/JC EpynlfM/8rECstXZUmHho93KMUBPz9rsrrT/wrKBATr1pFeVNOH0FYvSg40d6B7ZPj0q F2313CS3zCQCWIacSX5d6E4IdRIrDN2b5IfnvAGcpFKUECmpx1tRFK+GJR3O6/pQImH0 eOpcsWliEtcZAkGvJI5FHFjnEmc2hgVTP4P6jX8qS7a5LsS4g2bZWB4Lu2ePLr8lGX8L 6mJB2eQdrgOvyklE8HDLOPc75DQZ2xuOUgRXOy0QRRRwk3besGHEVFgW3t+1bEQLMfQp 2sdQ== X-Received: by 10.70.10.195 with SMTP id k3mr40102848pdb.41.1416351266494; Tue, 18 Nov 2014 14:54:26 -0800 (PST) Received: from [192.168.2.145] (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id sq2sm38762760pbc.73.2014.11.18.14.54.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Nov 2014 14:54:26 -0800 (PST) Message-ID: <546BCE21.7080403@gmail.com> Date: Tue, 18 Nov 2014 14:54:25 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Andrea Faulds , Rowan Collins CC: internals@lists.php.net References: <546B0F62.1090705@gmail.com> <546B95F2.2050504@gmail.com> <546BBF4F.8040806@gmail.com> <919EDD0D-F0F4-430A-A84B-96A32DF45E7B@ajf.me> In-Reply-To: <919EDD0D-F0F4-430A-A84B-96A32DF45E7B@ajf.me> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Default constructors From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > In fact, it *is* a bug: https://bugs.php.net/bug.php?id=67829 It is most definitely not a bug, it's the intended behavior that has been coded so and has been in PHP for a very long time. You may argue it should not be so, and it should be changed, that's fine, but it's not what is called a bug - it's not a mistake, it's how it was intended to work. Changing this is a feature request, for which you're welcome to make an RFC. I'm not sure though it would be very useful change since IMO it would break BC for no actual gain to any practical code. But if you think you're wrong RFC is definitely an option.