我有一个初始数组:
array
( [no] => array
(
[<30] => 3
[>30] => 5
[>50] => 2
)
[yes] => array
(
[<30] => 4
[>30] => 2
[>50] => 7
)
[maybe] => array
(
[<30] => 7
[>30] => 9
[>50] => 10
)
)
上述数组是否可以通过yes、no 和maybe 拆分成多个数组变量。如 :
$yes = array(3,5,2);
$no = array(4,2,7);
$maybe = array(7,9,10);