Re: RFC - Array slice syntactic sugar

From: Date: Fri, 20 Mar 2015 14:36:22 +0000
Subject: Re: RFC - Array slice syntactic sugar
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.internals 
Request: Send a blank email to internals+get-85294@lists.php.net to get a copy of this message
Hi Alex, On Fri, 2015-03-20, at 13:38, Alex Bowers wrote: > But I don't think we should only match {} for strings and [] for arrays, > that seems broken to me. Certainly it breaks BC (and would presumably have to wait until PHP 8), but if we were starting from scratch today, why would it make sense to have two syntaxes that do exactly the same thing? Vik

« previous php.internals (#85294) next »