Function
array_shift
Synopsis
array_shift(mixed): mixed
- Area
Runtime\PS\Core\Arrays\array_shiftareas
Description
array_shift removes the first element of $array and returns it, renumbering the integer keys from zero and leaving string keys alone; an empty array returns null and a value that is not a script array is an error.
Usage
$value = array_shift($arguments);
$fn = array_shift(...);