Implementing Generics, and none scalar default properties.
| From: | Dominic Grostate | Date: | Wed, 23 Sep 2015 14:53:05 +0000 |
| Subject: | Implementing Generics, and none scalar default properties. | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-88439@lists.php.net to get a copy of this message | ||
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