> On 14 ביוני 2016, at 21:00, Stanislav Malyshev <smalys...@gmail.com> wrote: > > Hi! > >> The separate vote is to remove ?string by string | null as only option. > > So we just held a vote on introducing ?type a month ago, to now vote on > removing it. Am I the only one to whom it doesn't make a lot of sense? >
I actually think this was discussed ahead of time. The thinking was that we'll approve (or reject) nullable types independently without having to wait for union types. If Union types passed - we'd reconsider the syntax for it. I think we need to clarify the vote here. I'm personally against Union types because it makes no sense for classes, and for scalars we're better off with dedicated solution a (e.g. "numeric"); but if it does pass, I'd rather have just one way of doing nullable types and not two. Zeev -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php