已知
$words = array('1','2','3','4','5','6','7','8');
$day = 3;
要得到任意分成$day组的情况
例如
这样的结果
Array
(
[0] => Array
(
[0] => Array
(
[0] => 1
)
[1] => Array
(
[0] => 23
)
[2] => Array
(
[0] => 4567
)
)
[1] => Array
(
[0] => Array
(
[0] => 1
)
[1] => Array
(
[0] => 56
)
[2] => Array
(
[0] => 2347
)
)
[2] => Array
(
[0] => Array
(
[0] => 12
)
[1] => Array
(
[0] => 56
)
[2] => Array
(
[0] => 347
)
)
..。