On Sat, Jul 21, 2012 at 1:02 AM, Stas Malyshev <smalys...@sugarcrm.com>wrote:
> Hi! > > > Call for voting for "Allow use T_AS in closure use statement", > > https://wiki.php.net/rfc/useas#voting > > > > any comment will be appreciated. > > I think it would be useful to add some explanation why this change is > useful, with specific code examples that it improves. Right now it seems > to be lacking good use cases so it's not clear why one would need this - > i.e., just renaming the variable doesn't seem all that important... > > For starters, maybe we could use a few examples from the previous thread about this rfc: http://www.mail-archive.com/internals@lists.php.net/msg57855.html I really liked the one example from Jordi ( http://www.mail-archive.com/internals@lists.php.net/msg57904.html) -- Ferenc Kovács @Tyr43l - http://tyrael.hu