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--
16Warning: array_splice() expects at most 4 parameters, 10 given in %s on line %d
17NULL
18array(3) {
19  [0]=>
20  int(0)
21  [1]=>
22  int(1)
23  [2]=>
24  int(2)
25}
26Done
27