Re: Replacing array_slice
| From: | Zeev Suraski | Date: | Tue, 17 Jul 2018 05:35:03 +0000 |
| Subject: | Re: Replacing array_slice | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102876@lists.php.net to get a copy of this message | ||
> On 17 Jul 2018, at 7:12, Levi Morrison <levim@php.net> wrote:
>
> Fixing
array_slice would probably do more harm than good at
> this
> stage. Instead I would like to provide an alternative function that
> does not have all this baggage, and will have decent performance much
> of the time. The best ideas I have for names are not that great:
>
> - array_real_slice?
> - array_slice2?
array_carve()? array_chisel()?
Zeev