Re: RFC - Array slice syntactic sugar

From: Date: Fri, 20 Mar 2015 12:32:45 +0000
Subject: Re: RFC - Array slice syntactic sugar
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-85280@lists.php.net to get a copy of this message
We also need to consider then the possibility of setting data by position. What should $array[@1:3] = [1,2,3] do? Should it overwrite the values there, and append any that don't exist, or should it be a parse error?

« previous php.internals (#85280) next »