I need a function like array_unique for arrays inside array.
array_unique
The Case - should be equal, but output \"not equal\":
If you want to test if the outer array has unique entries, then stringify the inner contents first for a comparison:
$arr1 = array_map("serialize", $arr); $arr2 = array_unique($arr1); if ($arr2 == $arr1) {