私はこの構造を持つPHPの配列を持っています:
Array
(
[7] => Array
(
[6] => Array
(
[200000000] => Array
(
[201000001] => Array
(
[201000002] => Entry
[201000003] => History
[201000004] => Statistic
[201000005] => Edit
)
)
)
[7] => Array
(
[200000000] => Array
(
[201000001] => Array
(
[201000002] => Entry
[201000005] => Edit
)
[201000006] => Request
[201000007] => Array
(
[201000008] => Array
(
[201000009] => Inbox
[201000010] => Cancellation
)
)
)
)
)
)
その配列を次のようなものにするにはどうすればよいですか。
Array
(
[7] => Array
(
[6] => Array
(
[200000000] => Array
(
[201000001] => Array
(
[201000002] => Entry
[201000003] => History
[201000004] => Statistic
[201000005] => Edit
)
[201000006] => Request
[201000007] => Array
(
[201000008] => Array
(
[201000009] => Inbox
[201000010] => Cancellation
)
)
)
)
)
)
それを行うことができるPHP組み込み関数があれば望ましいですか? それともループがあまりない関数ですか?
前にありがとう...