Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91178 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27071 invoked from network); 9 Feb 2016 22:26:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2016 22:26:42 -0000 Authentication-Results: pb1.pair.com header.from=bjorn.x.larsson@telia.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=bjorn.x.larsson@telia.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain telia.com from 81.236.60.154 cause and error) X-PHP-List-Original-Sender: bjorn.x.larsson@telia.com X-Host-Fingerprint: 81.236.60.154 v-smtpout1.han.skanova.net Received: from [81.236.60.154] ([81.236.60.154:57830] helo=v-smtpout1.han.skanova.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 21/81-12072-F976AB65 for ; Tue, 09 Feb 2016 17:26:40 -0500 Received: from [192.168.7.7] ([195.198.188.252]) by cmsmtp with SMTP id TGjzaD2xGgj1ITGjzaG50t; Tue, 09 Feb 2016 23:26:36 +0100 To: Ben Scholzen 'DASPRiD' References: <5605BACE.30803@gmail.com> <5605C23D.6030104@gmail.com> <56065071.2070107@gmail.com> <568F0FB8.9030807@dasprids.de> Cc: PHP internals Message-ID: <56BA679C.107@telia.com> Date: Tue, 9 Feb 2016 23:26:36 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <568F0FB8.9030807@dasprids.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfKaoprIlRfrT9F0VJd4i4MxOYlPQc8TiWfplXjbfGH+OlCphZ/2BGZYxCCyOWjbsgqRGpJ6LWj0LnFbEzqYHR5uETgnAKzCQOmgsuuMLnpvlOYw87hA9 4zQIGhAACCdGJ/1VgyoJfCehmyyVuRWFdFRW1YetMfjA31DmYUx6IwJMvMM5eLdyjlOW/5nDs+sCUVuPgckZsx7ZkNqOX41ve4k= Subject: Re: [PHP-DEV] Implementing Generics, and none scalar default properties. From: bjorn.x.larsson@telia.com (=?UTF-8?Q?Bj=c3=b6rn_Larsson?=) Den 2016-01-08 kl. 02:24, skrev Ben Scholzen 'DASPRiD': > By the way, Rasmus updated the RFC quite a bit, you guys may want to > take a look at it again. > > On 26.09.2015 12:23, Dominic Grostate wrote: >> An alternative that rfc might be to add a modifier to ctor, something >> like. >> >> required public function __construct(); >> >> A required function cannot be final, because the intention is to >> allow it >> to be overridden, but it must be called by the child impl at some point. >> What do u think? > Reading the "Patches and test section" I wonder if some leverage could be drawn from Hacks implementation of generics? Regards //Björn Larsson PS Then we of course have the famous https://github.com/ircmaxell/PhpGenerics to lean on ;-)