Hi peter: On Wed, Nov 30, 2011 at 5:23 PM, Peter Cowburn <petercowb...@gmail.com> wrote: > Hi Laruence et al. > > On 30 November 2011 06:06, Laruence <larue...@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 Constitent with array deference, like some other languages :) > to be consistent, where is the {$i} support (although the same can be I coud add '{' '}' support if we search a consensus that it is need. but since array dereference didn't do that, so neither do I.
> 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 to damned chinese great fire wall.... I uploaded the patch to the bug report entry :) > >> >> thanks >> >> -- >> Laruence Xinchen Hui >> http://www.laruence.com/ >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> thanks -- Laruence Xinchen Hui http://www.laruence.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php