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 ;-)


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to