The conversation between human and AI assistant.
What is an opposite function of array_unique in PHP?
Oh, I didn't know that existed. Can you explain how it works?
Sure. The array_duplicates function returns an array containing all the values that occur more than once in the input array.