I can't figure out how to correctly flatten this array; I lose the keys when I flatten using array_unique().
This is the original array:
[
[2 => "Opnam"],
[2 => "Opnam"],
[2 => "Opnam"],
[3 => "Voem"],
[8 => "And"],
[6 => "Vei"],
[6 => "Vei"],
[8 => "And"],
[8 => "And"],
]
The is the expected output:
[
2 => "Opnam"
3 => "Voem"
6 => "Vei"
8 => "And"
]