>
> Why not use array_slice for it?

There certainly are ways to do most of what this RFC covers, however most
of them don't lend themselves well to clean code in my opinion.

Thats why this RFC is listed as being syntactic sugar.

On 20 March 2015 at 21:30, Stanislav Malyshev <smalys...@gmail.com> wrote:

> Hi!
>
> > It would give different results, for a reason. There is currently no way
> > to get an array item by positional index, whilst preserving the keys.
>
> I imagine having such way may be useful. However, reusing array access
> syntax for that does not look like a good idea, since it would look like
> existing array syntax but work completely different. Why not use
> array_slice for it?
> --
> Stas Malyshev
> smalys...@gmail.com
>

Reply via email to