Re: [RFC]Call for voting about const array/string dereference
| From: | Laruence | Date: | Tue, 27 Dec 2011 09:26:45 +0000 |
| Subject: | Re: [RFC]Call for voting about const array/string dereference | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57109@lists.php.net to get a copy of this message | ||
On Tue, Dec 27, 2011 at 4:38 PM, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
> Hi!
>
>
>> Hi:
>> I have reset the vote, only vote for trunk now.
>>
>> https://wiki.php.net/rfc/constdereference
>>
>
> What happens in your patch if something like ['foo', 'bar'][1] is used in
> write context?
>
this patch will not allow that, in write context lead to syntax error.
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Laruence Xinchen Hui
http://www.laruence.com/