Re: [RFC] Generalize support of negative string offsets
| From: | Yasuo Ohgaki | Date: | Wed, 17 Feb 2016 04:35:23 +0000 |
| Subject: | Re: [RFC] Generalize support of negative string offsets | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91242@lists.php.net to get a copy of this message | ||
On Wed, Feb 17, 2016 at 9:32 AM, François Laupretre <francois@php.net> wrote:
>
> Le 17/02/2016 00:26, Yasuo Ohgaki a écrit :
>>
>> I noticed one issue on {}
>> https://bugs.php.net/bug.php?id=71611
>>
>> echo "${str{1}}";
>>
>> raises syntax error while
>>
>> echo "{$str{1}}";
>>
>> works. Is this addressed?
>
>
> No, this is a different problem. This RFC just adds support for negative
> index values. It does not deal with variable dereferencing using ${}/{$}.
Thank you. I filed new bug report for this.
https://bugs.php.net/bug.php?id=71614
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net