Hi Bob,
Bob Weinand wrote:
Hey all,
I know, it has been quite some time … but it's still well in time for 7.1.
Time to move on and put Union types to vote soon. [In the next 1-2 days]
We have done some changes to the RFC to emphasize the appeal of union types as
well as clarified what exactly we will vote on.
If you have more feedback, it's welcome: https://wiki.php.net/rfc/union_types
I do wonder if 1-2 days is really sufficient time, given that before
now, the only announced RFC had been substantially less complete.
That aside, the behaviour the RFC now specifies for how weak typing
interacts with union types is frighteningly complicated. I don't see how
it could be anything other than that, but the new complexity this
introduces to PHP is enough for me to vote against this RFC, even
ignoring my other concerns.
Thanks.
--
Andrea Faulds
https://ajf.me/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php