Function

array_slice

Synopsis

array_slice(mixed, int, mixed ...): mixed

Area
Runtime\PS\Core\Arrays\array_sliceareas

Description

array_slice returns up to $length elements of $array starting at $offset, a negative $offset counting from the end and a negative $length stopping that many short of it; it reindexes integer keys from zero unless $preserve_keys is true, and keeps string keys either way.

Usage

$value = array_slice($arguments);
$fn = array_slice(...);

See also