Function

array_unshift

Synopsis

array_unshift(mixed, mixed ...): int

Area
Runtime\PS\Core\Arrays\array_unshiftareas

Description

array_unshift prepends the given values to $array and returns the new element count, renumbering the integer keys from zero and leaving string keys alone; a value that is not a script array is an error.

Usage

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

See also