Я ищу элегантный способ дедупликации 5-мерного массива, например thaht:
Array
(
[LOADERS] => Array
(
[S130] => Array
(
[527311001 & Above] => Array
(
[MAINTENANCE ITEMS] => Array
(
[0] => MAINTENANCE ITEMS
[1] => SCHEDULED MAINTENANCE ITEMS (50 HOUR)
[2] => SCHEDULED MAINTENANCE ITEMS (250 HOUR)
[3] => SCHEDULED MAINTENANCE ITEMS (1000 HOUR)
[4] => SCHEDULED MAINTENANCE ITEMS (1000 HOUR)
[5] => MAINTENANCE ITEMS
[6] => SCHEDULED MAINTENANCE ITEMS (50 HOUR)
[7] => SCHEDULED MAINTENANCE ITEMS (250 HOUR)
[8] => SCHEDULED MAINTENANCE ITEMS (500 HOUR)
[9] => SCHEDULED MAINTENANCE ITEMS (1000 HOUR)
)
)
)
)
)
Возможно ли это или я должен использовать 5-вложенный foreach?