how to check only two kyes value are dupliacte and remove that duplicate array from multi-diamentional array in php code example
Example: how to remove duplicate values from a multidimensional array in php
We used this to de-duplicate results from a variety of overlapping queries.
$input = array_map("unserialize", array_unique(array_map("serialize", $input)));