Вы можете сделать это с помощью ouzo goodies :
$result = Arrays::flatten($multidimensional);
Смотрите: Здесь