Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97760 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9314 invoked from network); 15 Jan 2017 11:47:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2017 11:47:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=michal@brzuchalski.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=michal@brzuchalski.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain brzuchalski.com designates 188.165.245.118 as permitted sender) X-PHP-List-Original-Sender: michal@brzuchalski.com X-Host-Fingerprint: 188.165.245.118 ns220893.ip-188-165-245.eu Received: from [188.165.245.118] ([188.165.245.118:47521] helo=poczta.brzuchalski.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 60/AC-00729-B416B785 for ; Sun, 15 Jan 2017 06:47:25 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by poczta.brzuchalski.com (Postfix) with ESMTP id 2C43D2984237 for ; Sun, 15 Jan 2017 12:47:20 +0100 (CET) Received: from poczta.brzuchalski.com ([127.0.0.1]) by localhost (poczta.brzuchalski.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8wq1_2jk3i9c for ; Sun, 15 Jan 2017 12:47:16 +0100 (CET) Received: from mail-vk0-f47.google.com (unknown [209.85.213.47]) by poczta.brzuchalski.com (Postfix) with ESMTPSA id BE8222984235 for ; Sun, 15 Jan 2017 12:47:15 +0100 (CET) Received: by mail-vk0-f47.google.com with SMTP id t8so58798804vke.3 for ; Sun, 15 Jan 2017 03:47:15 -0800 (PST) X-Gm-Message-State: AIkVDXKHXBouPuPhy2aXLJLrbwwKWkwHqN3+/gwID05QP8Qr4xhsLNhso5pW9zPgJzkqPJY4sf5iIXcA/J6JpQ== X-Received: by 10.31.196.132 with SMTP id u126mr13710549vkf.77.1484480834900; Sun, 15 Jan 2017 03:47:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.35.204 with HTTP; Sun, 15 Jan 2017 03:47:14 -0800 (PST) In-Reply-To: References: <0DE25BF8-D349-48EF-A83B-8837DD4AD1E0@gmail.com> <5efcc230-c67b-4439-cc82-b31eacbf36db@php.net> <7c8c8801-a849-6fd2-91e9-954030c55e83@fleshgrinder.com> <2051639b-1b63-2e44-51b0-381caa54dfd0@fleshgrinder.com> Date: Sun, 15 Jan 2017 12:47:14 +0100 X-Gmail-Original-Message-ID: Message-ID: To: Giovanni Giacobbi Cc: Wes , PHP Internals List Content-Type: multipart/alternative; boundary=001a114e7248d71ce9054620a0e2 Subject: Re: [PHP-DEV] Explicit constructor call and polymorphic dispatch From: michal@brzuchalski.com (=?UTF-8?Q?Micha=C5=82_Brzuchalski?=) --001a114e7248d71ce9054620a0e2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2017-01-15 12:41 GMT+01:00 Giovanni Giacobbi : > You are right, I feel responsible for it (but proudly), as an excuse plea= se > consider that the three topics covered have a certain dependancy: > > Forbid __construct calls -> Forbid in constructor as well for coherency -= > > need a new way to call parent's constructor > (bonus topic: implicit constructors) > > I've talked with Fleshgrinder aside and I convinced using `parent($a, $b)` as call for parent constructor fully satisfies me. Without any change to `parent::` scope resolution it's quite similar to Java's `super` which is also used as parent constructor and scope resolution. So I'm +1 for `parent` > It would be a pity if only the first part made it into the core, and I > personally like it plus I always wanted a better way to invoke parent's > constructor, so I threw it in the basket, but you are right, it is quite > off-topic. I'll check out the guide on how to submit RFCs so you guys can > fry me in another thread :P > > On 15 January 2017 at 07:06, Wes wrote: > > > you guys went slightly off topic :P > > > > > > -- > Giovanni Giacobbi > --=20 regards / pozdrawiam, -- Micha=C5=82 Brzuchalski about.me/brzuchal brzuchalski.com --001a114e7248d71ce9054620a0e2--