Re: [VOTE] Reserve even more type hints
On 16 March 2015 at 06:44, Sara Golemon <[email protected]> wrote:
> The voting period for the "Even More" type hints reservation RFC is now open.
>
Hi Sara,
There's been a little bit of traffic on the list in the past few days;
I don't think your RFC has received enough cogent discussion.
In particular the keywords 'Resource' and 'mixed' seem to have limited
need to be reserved. I don't believe there has been any suggestion
that either of these would actually be used as types for PHP 7.x. So
making them be unusable seems to be a large BC hit for no gain for
people who currently have classes that use them
It's possible that people are voting yes to reserve these two words,
without fully considering whether they should be reserved or not. I
can see that all of 'object', 'scalar', and 'numeric' have been
proposed as part of future improvements to PHP's type system.
Can anyone please make a strong argument for why 'resource' and
'mixed' should be reserved, if we currently have no plans to use them?
cheers
Dan
Thread (11 messages)