How do I use array_unique on an array of arrays?
It’s because array_unique compares items using a string comparison. From the docs: Note: Two elements are considered equal if and only if (string) $elem1 === (string) $elem2. In words: when the string representation is the same. The first element will be used. The string representation of an array is simply the word Array, no matter … Read more