2 /* Prototype : int array_unshift(array $array, mixed $var [, mixed ...])
3 * Description: Pushes elements onto the beginning of the array
4 * Source code: ext/standard/array.c
7 echo "*** Testing array_unshift() : error conditions ***\n";
10 echo "\n-- Testing array_unshift() function with Zero arguments --\n";
11 var_dump( array_unshift() );
13 // Testing array_unshift with one less than the expected number of arguments
14 echo "\n-- Testing array_unshift() function with less than expected no. of arguments --\n";
16 var_dump( array_unshift($array) );