Re: Implementing Generics, and none scalar default properties.

From: Date: Tue, 09 Feb 2016 22:26:36 +0000
Subject: Re: Implementing Generics, and none scalar default properties.
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-91178@lists.php.net to get a copy of this message
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 ;-)

« previous php.internals (#91178) next »