Re: [RFC]Call for voting about const array/string dereference
| From: | Laruence | Date: | Tue, 13 Dec 2011 09:40:25 +0000 |
| Subject: | Re: [RFC]Call for voting about const array/string dereference | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56905@lists.php.net to get a copy of this message | ||
Hi:
should consistent with :
<?php
$a = "string";
echo $a["foo"][0];
in 5.4.
thanks
On Tue, Dec 13, 2011 at 4:32 PM, Morfi <i@morfi.ru> wrote:
>>
>> echo "foobar"["foo"][0];
>
>
> "foobar"["foo"] - Why not "undefined index"?
>
> On Tue, Dec 13, 2011 at 10:20 AM, Nikita Popov <nikita.ppv@googlemail.com>wrote:
>
>> This can't go into PHP 5.4.0 in any case, because it is a feature
>> addition and the release is already in RC.
>>
>> Nikita
>>
>> On Tue, Dec 13, 2011 at 7:16 AM, Laruence <laruence@php.net> wrote:
>> > Hi:
>> > Call for voting about the const array/string derefernce RFC now.
>> >
>> > you can find more info here:
>> https://wiki.php.net/rfc/constdereference#vote
>> >
>> >
>> > thanks
>> >
>> > --
>> > Laruence Xinchen Hui
>> > http://www.laruence.com/
>> >
>> > --
>> > PHP Internals - PHP Runtime Development Mailing List
>> > To unsubscribe, visit: http://www.php.net/unsub.php
>> >
>>
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
--
Laruence Xinchen Hui
http://www.laruence.com/