1--TEST-- 2Test array_splice() function : usage variations - additional parameters 3--FILE-- 4<?php 5/* 6 * proto array array_splice(array input, int offset [, int length [, array replacement]]) 7 * Function is implemented in ext/standard/array.c 8*/ 9 10$array=array(0,1,2); 11var_dump (array_splice($array,1,1,3,4,5,6,7,8,9)); 12var_dump ($array); 13echo "Done\n"; 14?> 15--EXPECTF-- 16 17Warning: array_splice() expects at most 4 parameters, 10 given in %s on line %d 18NULL 19array(3) { 20 [0]=> 21 int(0) 22 [1]=> 23 int(1) 24 [2]=> 25 int(2) 26} 27Done 28