Re: Call for voting: [RFC] Allow use T_AS in closure use statement
| From: | Laruence | Date: | Wed, 18 Jul 2012 15:21:29 +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-61407@lists.php.net to get a copy of this message | ||
On Wed, Jul 18, 2012 at 11:19 PM, Leigh <leight@gmail.com> wrote:
> I missed the discussion on this one, the RFC examples are very simple. Does
> it support aliasing array indices?
>
> For example: (use $matches[0] as $name)
sorry, no, it's only support literal variable for now.
thanks
>
> On Jul 18, 2012 3:55 PM, "Laruence" <laruence@php.net> 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.
>>
>> thanks
>>
>> --
>> Laruence Xinchen Hui
>> http://www.laruence.com/
>>
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
--
Laruence Xinchen Hui
http://www.laruence.com/