(PHP 4, PHP 5, PHP 7)
Extract a slice of the array
array array_slice ( array $array, int $offset [, int $length = NULL [, bool $preserve_keys = false ]] )
array_slice() returns the sequence of elements from the array array as specified by the offset and length parameters.
Parameters:
array
The input array.
offset
If offset is non-nega