+
+ $aSearchHash = array();
+ foreach($aNewPhraseSearches as $iSearch => $aSearch)
+ {
+ $sHash = serialize($aSearch);
+ if (isset($aSearchHash[$sHash]))
+ {
+ unset($aNewPhraseSearches[$iSearch]);
+ }
+ else
+ {
+ $aSearchHash[$sHash] = 1;
+ }
+ }
+