Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80352 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36527 invoked from network); 11 Jan 2015 04:50:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2015 04:50:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=francois@tekwire.net; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=francois@tekwire.net; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain tekwire.net does not designate 212.27.42.2 as permitted sender) X-PHP-List-Original-Sender: francois@tekwire.net X-Host-Fingerprint: 212.27.42.2 smtp2-g21.free.fr Received: from [212.27.42.2] ([212.27.42.2:53026] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6C/7D-48183-01102B45 for ; Sat, 10 Jan 2015 23:50:25 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id 192974B0026; Sun, 11 Jan 2015 05:48:16 +0100 (CET) Reply-To: To: "'Stanislav Malyshev'" , "'PHP Internals'" References: <54B1C50F.7020304@gmail.com> In-Reply-To: <54B1C50F.7020304@gmail.com> Date: Sun, 11 Jan 2015 05:50:15 +0100 Message-ID: <003d01d02d5a$1753f870$45fbe950$@tekwire.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGsx8W5U28o13qNe5fAwEtRlWF1jJ0BI45g Content-Language: fr X-Antivirus: avast! (VPS 150110-2, 10/01/2015), Outbound message X-Antivirus-Status: Clean Subject: RE: [PHP-DEV] [RFC][VOTE] Default parent constructors RFC From: francois@tekwire.net (=?UTF-8?Q?Fran=C3=A7ois_Laupretre?=) > De : Stanislav Malyshev [mailto:smalyshev@gmail.com] > > 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/ +1. Considering implicit empty constructors and destructors is totally = intuitive and should have been done a long time ago. For __clone, no opinion as I never used it. Fran=C3=A7ois