Lines Matching refs:array_slice
2 Test array_slice() - Third parameter (NULL vs 0)
6 var_dump(array_slice(range(1, 3), 0, NULL, 1));
7 var_dump(array_slice(range(1, 3), 0, 0, 1));
8 var_dump(array_slice(range(1, 3), 0, NULL));
9 var_dump(array_slice(range(1, 3), 0, 0));
11 var_dump(array_slice(range(1, 3), -1, 0));
12 var_dump(array_slice(range(1, 3), -1, 0, 1));
13 var_dump(array_slice(range(1, 3), -1, NULL));
14 var_dump(array_slice(range(1, 3), -1, NULL, 1));
19 var_dump(array_slice(range(1, 3), 0, $a));
24 var_dump(array_slice(range(1, 3), 0, $a));
64 array_slice(): Argument #3 ($length) must be of type ?int, string given
65 array_slice(): Argument #3 ($length) must be of type ?int, string given