最容易直接进入代码:
所需格式:
0 =>
array (size=3)
0 => string '6100' (length=4)
1 => string '6102' (length=4)
2 => string '2' (length=1)
1 =>
array (size=3)
0 => string '6101' (length=4)
1 => string '1' (length=1)
2 => string '6' (length=1)
2 =>
array (size=2)
0 => string '7' (length=1)
1 => string '5' (length=1)
我可以很容易地构造数组,但参数如下:
由这些参数设计的第一级数组:
$construct =
array (size=3)
0 => string '3' (length=1)
1 => string '3' (length=1)
2 => string '2' (length=1)
二级参数:
$ids =
array (size=8)
0 => string '6100' (length=4)
1 => string '6102' (length=4)
2 => string '6101' (length=4)
3 => string '1' (length=1)
4 => string '7' (length=1)
5 => string '5' (length=1)
6 => string '2' (length=1)
7 => string '6' (length=1)
第二级 $ids 的顺序没有区别。