Re: [VOTE] Reserve even more type hints

From: Date: Mon, 16 Mar 2015 23:37:00 +0000
Subject: Re: [VOTE] Reserve even more type hints
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-85106@lists.php.net to get a copy of this message
On 16 March 2015 at 06:44, Sara Golemon <pollita@php.net> 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

« previous php.internals (#85106) next »