Lines Matching refs:array_chunk
2 Test array_chunk() function : usage variations - different 'size' values
6 * Testing array_chunk() function with following conditions
13 echo "*** Testing array_chunk() : usage variations ***\n";
23 echo "\n-- Testing array_chunk() when size = $size --\n";
25 var_dump( array_chunk($input_array, $size) );
30 var_dump( array_chunk($input_array, $size, true) );
35 var_dump( array_chunk($input_array, $size, false) );
42 *** Testing array_chunk() : usage variations ***
44 -- Testing array_chunk() when size = -1 --
45 array_chunk(): Argument #2 ($length) must be greater than 0
46 array_chunk(): Argument #2 ($length) must be greater than 0
47 array_chunk(): Argument #2 ($length) must be greater than 0
49 -- Testing array_chunk() when size = 4 --
84 -- Testing array_chunk() when size = 0 --
85 array_chunk(): Argument #2 ($length) must be greater than 0
86 array_chunk(): Argument #2 ($length) must be greater than 0
87 array_chunk(): Argument #2 ($length) must be greater than 0
89 -- Testing array_chunk() when size = 1.5 --