ARRAY_UNSHIFT
Prepends passed elements to the front of the array.
SYNTAX
array_unshift ( array &$array [, mixed $... ] ) : int
PARAMETERS
array
The input array.
...
The values to prepend.
RETURN
Returns the new number of elements in the array.
EXAMPLES
1
Array
(
[0] => apple
[1] => raspberry
[2] => orange
[3] => banana
)
2
4