On 20/05/2016 07:05, Joe Watkins wrote:
Morning internals,
Since we have our answer on nullable types, typed properties can now go
to vote.
https://wiki.php.net/rfc/typed-properties#vote
Note that, support for nullability as RFC'd will be merged when the
implementation for nullable_types is merged into master.
Please participate.
Cheers
Joe
I'm surprised at how popular this RFC has been; not because I think it's
a bad thing per se, but I thought it would be more controversial.
I do still think PHP should have a proper road map for typing features,
though. The issues around typed references in this RFC are a good
example of how having an increasing number of silos where type
enforcement takes place leads to odd inconsistencies and limitations. It
would be nice to have some idea of what the eventual aim is - even if we
don't know how yet, is the aim in people's minds for "optional typing"
to extend throughout the language?
This would also help with performance considerations - if type-checking
is going to become a more important concept in the language, the engine
should move in a direction which will make that easier, and that may
affect optimisation decisions.
Regards,
--
Rowan Collins
[IMSoP]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php