Hi Stas, On Thu, Feb 11, 2016 at 3:27 PM, Stanislav Malyshev <smalys...@gmail.com> wrote: > >> I just added support for '[]' on strings and '{}' to the PR. >> >> Examples : >> >> $string[] = 'a'; // equivalent to : $string[strlen($string)] >> >> $string{} = 'a'; // For consistency > > That's probably not a good idea, and certainly is not good for the RFC - > the patch now does two unrelated things.
RFC must maintain consistency across existing features/specifications, IMHO. We already have too many inconsistencies and scattered RFCs will make things worse certainly. Making patch and/or RFC simple is not the reason why we have RFC, but to have full featured/discussed/consistent changes to PHP. Aren't we better to have consistent/complete RFCs almost always? Regards, -- Yasuo Ohgaki yohg...@ohgaki.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php