Le 10/05/2016 à 17:22, Levi Morrison a écrit :
Dmitry and I have opened [voting on Nullable Types][1].
[1]: https://wiki.php.net/rfc/nullable_types#voting_choices
Hi,
At AFUP, we would be +1 for having nullable types, for both parameters
and return values.
It often seems, with PHP 7.0, this specific feature is missing ;-)
A few indicated "int?" would have seemed more familiar than "?int", but
it doesn't seem like a deal-breaker; and being close to Hack is more
important than being close to - say - C#.
In our discussions, more (not a big margin though) were +1 for nullable
types on parameters than on return values; no deal-breaker here either.
Anyway, happy to see votes are going well and nullables types are more
than likely coming for PHP 7.1!
Thanks for you work on this!
--
Pascal MARTIN, AFUP - French UG
http://php-internals.afup.org/