Array
(
[72] => Array
(
[id] => 70
[login] => test100
[parent_id] => 1
[type_id] => 1
[position] => 1
[user_id] => 72
[children] => Array
(
)
)
[73] => Array
(
[id] => 72
[login] => test101
[parent_id] => 1
[type_id] => 1
[position] => 2
[user_id] => 73
[children] => Array
(
[74] => Array
(
[id] => 74
[login] => test105
[parent_id] => 72
[type_id] => 1
[position] => 1
[user_id] => 74
[children] => Array
(
)
)
)
)
)
I have this array for example, but the depth can be unlimited, how to convert an ulimited or unknown of depth multidimensional array to single array?