Re: Call for voting: [RFC] Allow use T_AS in closure use statement
| From: | Ferenc Kovacs | Date: | Sat, 21 Jul 2012 00:50:16 +0000 |
| Subject: | Re: Call for voting: [RFC] Allow use T_AS in closure use statement | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61597@lists.php.net to get a copy of this message | ||
On Sat, Jul 21, 2012 at 1:02 AM, Stas Malyshev <smalyshev@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