私は次の配列を持っています:
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
)