Note that keys are preserved. array_unique() sorts the values treated as string at first, then will keep the first key encountered for every value, and ignore all following keys.
Deux éléments sont considérés comme égaux si et seulement si (string) $elem1 === (string) $elem2.