Re: [RFC] Nullable Types
| From: | Björn Larsson | Date: | Sat, 16 Apr 2016 16:08:20 +0000 |
| Subject: | Re: [RFC] Nullable Types | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-92368@lists.php.net to get a copy of this message | ||
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 clearpicture 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