1--TEST--
2array_chunk() - variation 24
3--FILE--
4<?php
5$array = array ("a" => "A");
6var_dump ($array);
7for ($i = 0; $i < (sizeof($array) + 1); $i++) {
8	echo "[$i]\n";
9	var_dump (@array_chunk ($array, $i));
10	var_dump (@array_chunk ($array, $i, TRUE));
11	var_dump (@array_chunk ($array, $i, FALSE));
12	echo "\n";
13}
14?>
15--EXPECT--
16array(1) {
17  ["a"]=>
18  string(1) "A"
19}
20[0]
21NULL
22NULL
23NULL
24
25[1]
26array(1) {
27  [0]=>
28  array(1) {
29    [0]=>
30    string(1) "A"
31  }
32}
33array(1) {
34  [0]=>
35  array(1) {
36    ["a"]=>
37    string(1) "A"
38  }
39}
40array(1) {
41  [0]=>
42  array(1) {
43    [0]=>
44    string(1) "A"
45  }
46}
47