Re: [RFC] Const array/string dereference
| From: | Peter Cowburn | Date: | Wed, 30 Nov 2011 09:23:19 +0000 |
| Subject: | Re: [RFC] Const array/string dereference | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56679@lists.php.net to get a copy of this message | ||
Hi Laruence et al.
On 30 November 2011 06:06, Laruence <laruence@php.net> wrote:
> Hi:
>
> base on feature request:
> https://bugs.php.net/bug.php?id=60408 , I
> wrote a patch to make php support const array/string dereference
>
> rfc is here, https://wiki.php.net/rfc/constdereference
>
> any opinions?
Could you pad out the RFC a little, it is very sparse in information
at the moment. What is the rationale behind this new feature? "A small
change to make things consistent." Consistent with what? If you want
to be consistent, where is the {$i} support (although the same can be
said for function array dereferencing with curly braces)?
I can't comment on the patch/tests as your site seems to be
unavailable at the moment.
>
> thanks
>
> --
> Laruence Xinchen Hui
> http://www.laruence.com/
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>