I have an array like this
$callerid = Array ( [1] => <409> [2] => <3214> [3] => <409> [4] => <5674> )
I want to have output like
Array ( [1] => <3214> [2] => <5674> )
That is, I want to remove occurrences of value if found duplicate in array.
how to achieve this?
array_count_values, remove all elements with a count> 1.