Re: Replacing array_slice
| From: | rich gray | Date: | Tue, 17 Jul 2018 10:11:55 +0000 |
| Subject: | Re: Replacing array_slice | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102881@lists.php.net to get a copy of this message | ||
On 17/07/2018 05:11, Levi Morrison wrote:
Fixingarray_slicewould 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_chop() ?