array_unshift « Data Structure « PHP






1.Adding an Element to the Beginning of an Array
2.Adding an Element to the Beginning of an Array: int array_unshift(array $arr, mixed $val[, mixed $val2[, ...]])
3.array_unshift( ) function pushes value onto the start of the array
4.array_unshift() function shifts the array to the right.