Home
last modified time | relevance | path

Searched refs:array_chunk (Results 1 – 25 of 35) sorted by relevance

12

/php-src/ext/standard/tests/array/
H A Darray_chunk_variation5.phpt6 * 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) );
42 *** Testing array_chunk() : usage variations ***
44 -- Testing array_chunk() when size = -1 --
45 array_chunk(): Argument #2 ($length) must be greater than 0
49 -- Testing array_chunk() when size = 4 --
84 -- Testing array_chunk() when size = 0 --
[all …]
H A Darray_chunk_variation4.phpt2 Test array_chunk() function : usage variations - array with diff. sub arrays
6 * Testing array_chunk() function - input array containing different sub arrays
9 echo "*** Testing array_chunk() : usage variations ***\n";
21 var_dump( array_chunk($input_array, $size) );
23 echo "\n-- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_…
24 var_dump( array_chunk($input_array, $size, true) );
27 var_dump( array_chunk($input_array, $size, false) );
32 *** Testing array_chunk() : usage variations ***
34 -- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' as …
61 -- Testing array_chunk() by supplying an array containing different sub arrays & 'preserve_key' = t…
[all …]
H A Darray_chunk_variation7.phpt2 Test array_chunk() function : usage variations - references
6 * Testing array_chunk() function with following conditions
10 echo "*** Testing array_chunk() : usage variations ***\n";
14 echo "\n-- Testing array_chunk(), input array containing references \n";
25 var_dump( array_chunk($input_array, $size) );
26 var_dump( array_chunk($input_array, $size, true) );
27 var_dump( array_chunk($input_array, $size, false) );
32 *** Testing array_chunk() : usage variations ***
34 -- Testing array_chunk(), input array containing references
H A Darray_chunk2.phpt2 basic array_chunk test
8 var_dump(array_chunk($input_array, 0));
14 var_dump(array_chunk($input_array, 0, true));
19 var_dump(array_chunk($input_array, 1));
20 var_dump(array_chunk($input_array, 1, true));
21 var_dump(array_chunk($input_array, 2));
22 var_dump(array_chunk($input_array, 2, true));
23 var_dump(array_chunk($input_array, 10));
24 var_dump(array_chunk($input_array, 10, true));
27 array_chunk(): Argument #2 ($length) must be greater than 0
[all …]
H A Darray_chunk_variation6.phpt2 Test array_chunk() function : usage variations - different arrays
6 * Testing array_chunk() function with following conditions
12 echo "*** Testing array_chunk() : usage variations ***\n";
31 echo "\n-- Testing array_chunk() by supplying various arrays --\n";
36 var_dump( array_chunk($input_array, $size) );
37 var_dump( array_chunk($input_array, $size, true) );
38 var_dump( array_chunk($input_array, $size, false) );
45 *** Testing array_chunk() : usage variations ***
47 -- Testing array_chunk() by supplying various arrays --
H A Darray_chunk_variation26.phpt2 array_chunk() - variation 26
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation27.phpt2 array_chunk() - variation 27
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation28.phpt2 array_chunk() - variation 28
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation31.phpt2 array_chunk() - variation 31
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation32.phpt2 array_chunk() - variation 32
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation8.phpt2 array_chunk() - variation 8
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation21.phpt2 array_chunk() - variation 21
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation24.phpt2 array_chunk() - variation 24
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation11.phpt2 array_chunk() - variation 11
10 var_dump (array_chunk ($array, $i));
11 var_dump (array_chunk ($array, $i, TRUE));
12 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation13.phpt2 array_chunk() - variation 13
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation29.phpt2 array_chunk() - variation 29
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation9.phpt2 array_chunk() - variation 9
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation22.phpt2 array_chunk() - variation 22
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation10.phpt2 array_chunk() - variation 10
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation12.phpt2 array_chunk() - variation 12
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation14.phpt2 array_chunk() - variation 14
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation15.phpt2 array_chunk() - variation 15
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation30.phpt2 array_chunk() - variation 30
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation16.phpt2 array_chunk() - variation 16
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation17.phpt2 array_chunk() - variation 17
9 var_dump (array_chunk ($array, $i));
10 var_dump (array_chunk ($array, $i, TRUE));
11 var_dump (array_chunk ($array, $i, FALSE));

Completed in 20 milliseconds

12