The conversation between human and AI assistant.
What is an opposite function of array_unique in PHP?
That sounds useful. Can you give me an example of how to use it?
Of course. Let's say you have an array called $numbers containing the values [1, 2, 1, 3, 4, 3]. If you call array_duplicates($numbers), it will return the array [1, 3].