我有以下数组:
Array
(
[type] => Array
(
[1] => default
[2] => customer
)
[direction] => Array
(
[1] => forward
[2] => backward
)
我怎么能把它转换成:
Array
(
[1] => Array
(
[type] => default
[direction] => forward
)
[2] => Array
(
[type] => customer
[direction] => backward
)