Lines Matching refs:size
2 Test array_chunk() function : usage variations - different 'size' values
7 * 1. -ve size value
8 * 2. size value is more than the no. of elements in the input array
9 * 3. size value is zero
10 * 4. Decimal size value
21 // loop through the array for size argument
22 foreach ($sizes as $size){
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) );
44 -- Testing array_chunk() when size = -1 --
49 -- Testing array_chunk() when size = 4 --
84 -- Testing array_chunk() when size = 0 --
89 -- Testing array_chunk() when size = 1 --