Lines Matching refs:array_splice
2 Test array_splice() function : error conditions
6 * proto array array_splice(array input, int offset [, int length [, array replacement]])
10 echo "\n*** Testing error conditions of array_splice() ***\n";
14 var_dump (array_splice());
15 var_dump (array_splice($int));
16 var_dump (array_splice($array));
17 var_dump (array_splice($int,$int));
19 var_dump (array_splice($obj,0,1));
24 *** Testing error conditions of array_splice() ***
26 Warning: array_splice() expects at least 2 parameters, 0 given in %s on line %d
29 Warning: array_splice() expects at least 2 parameters, 1 given in %s on line %d
32 Warning: array_splice() expects at least 2 parameters, 1 given in %s on line %d
35 Warning: array_splice() expects parameter 1 to be array, integer given in %s on line %d
38 Warning: array_splice() expects parameter 1 to be array, object given in %s on line %d