Lines Matching refs:array_chunk
2 Test array_chunk() function : usage variations - array with diff. sub arrays
5 /* Prototype : array array_chunk(array $array, int $size [, bool $preserve_keys])
12 * Testing array_chunk() function - input array containing different sub arrays
15 echo "*** Testing array_chunk() : usage variations ***\n";
26 echo "\n-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_…
27 var_dump( array_chunk($input_array, $size) );
29 echo "\n-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_…
30 var_dump( array_chunk($input_array, $size, true) );
32 echo "\n-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_…
33 var_dump( array_chunk($input_array, $size, false) );
38 *** Testing array_chunk() : usage variations ***
40 -- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' as …
67 -- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' = t…
94 -- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' = f…