Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80340 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9321 invoked from network); 11 Jan 2015 00:34:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2015 00:34:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.173 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.214.173 mail-ob0-f173.google.com Received: from [209.85.214.173] ([209.85.214.173:57636] helo=mail-ob0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 51/98-48183-B15C1B45 for ; Sat, 10 Jan 2015 19:34:35 -0500 Received: by mail-ob0-f173.google.com with SMTP id uy5so18113646obc.4 for ; Sat, 10 Jan 2015 16:34:33 -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 :content-type:content-transfer-encoding; bh=Mle3zIvsbZ1vLB1OaqRvIZAKxk3GY22acGPETWHlY5M=; b=KkKinqeozcUtCKZLOn0t1z7NFEsEuja5mS08VApv2+l3Qe31sp2JBE/Qqsuck2i36f zsuGUrO0O0aR6E/mK1bS98wYpznoDTl5AKGX3eHRMDZWh0yqdbiCJui5oI70q3pkYgti L1c2tF1MLH1xKzHzY/KTW3F7rtHMRCYpHtNE62LwcuU1VXBQawcaprj9kiuu1li6KFsp +je0ODdUchtEfeOZRLkwd+DZXfkpi3Tj8VdM9yqCJMJY/JaGNdD/Ty9JQzHrha5dS12E uy6yMIi6lUQYt+Kh3UkLWKknYoE4BlNxv8E4Kign5Wp0gKnmpxtPReswCrac0jhg6Ok9 spJQ== X-Received: by 10.202.91.138 with SMTP id p132mr12996529oib.47.1420936472864; Sat, 10 Jan 2015 16:34:32 -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 x138sm6646928oie.8.2015.01.10.16.34.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Jan 2015 16:34:32 -0800 (PST) Message-ID: <54B1C50F.7020304@gmail.com> Date: Sat, 10 Jan 2015 16:34:23 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: PHP Internals Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: [RFC][VOTE] Default parent constructors RFC From: smalyshev@gmail.com (Stanislav Malyshev) Hi! I'd like to initiate a vote on this RFC: https://wiki.php.net/rfc/default_ctor TLDR: this RFC would make a call to parent::__construct() succeed (as in "not produce a fatal error") even if the parent class does not define a ctor. Same for __destruct and __clone. The motivation for it is in the RFC and here: https://php100.wordpress.com/2014/11/04/default-constructors/ I've chosen the simplest way of implementing it, as suggested by Dmitry, in https://github.com/php/php-src/pull/990. There are other alternatives, but I think the simpler the better. Previous discussion is at: http://marc.info/?t=141630266000001&r=2&w=2 -- Stas Malyshev smalyshev@gmail.com