Den 2016-04-15 kl. 19:58, skrev Dmitry Stogov:
A week ago, I actually wrote my own RFC
https://wiki.php.net/rfc/nullable_return_types
but didn't push it for discussion in favor of Levi's nullable_type RFC (they
are almost the same).
I'm sure, union types bring too many conceptual and implementation questions,
and I even don't speak abut intersections.
Thanks. Dmitry.
Reading this together with Levi's RFC and it gives a very clear
picture on the proposed feature. Definitely a +1. Hope that
part of the text in this RFC can be lifted into Levi's RFC. E.g.
the binary tree example gives a good motivation / UC etc.
Regards //Björn
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php