Re: Implementing Generics, and none scalar default properties.

From: Date: Wed, 23 Sep 2015 16:16:12 +0000
Subject: Re: Implementing Generics, and none scalar default properties.
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-88441@lists.php.net to get a copy of this message
Hey Dominic On 23.09.2015 16:53, Dominic Grostate wrote:
A couple of things that would really help me in PHP are generics and the ability to set default values of properties to instances of objects or calls to static methods or functions (expressions in general). I don't know if either of these have experimental implementations already as I couldn't find any, but if it would add some interest I may be willing to tackle the source to help push it forward. Could you please advise me on any fatal barriers that might prevent this being worth while for me. Thank you. Dominic
So far I only wrote up the RFC and kicked off a discussion here on the mailing list about it. As I wrote several times already, I'd appreciate someone tackling the implementation side to get a patch working! Cheers, -- Ben Scholzen 'DASPRiD' Community Review Team Member | mail@dasprids.de Zend Framework | http://www.dasprids.de

« previous php.internals (#88441) next »