Am 17.07.2018 um 07:35 schrieb Zeev Suraski:
On 17 Jul 2018, at 7:12, Levi Morrison <le...@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


If keeping it together in a single function maybe array_extract() will do the job. Or do you think it's to close to the naming of extract() and may lead to confusion?

Enno

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to