I\'m sure this is an extremely obvious question, and that there\'s a function that does exactly this, but I can\'t seem to find it. In PHP, I\'d like to know if my array has
I'm using this:
if(count($array)==count(array_count_values($array))){ echo("all values are unique"); }else{ echo("there's dupe values"); }
I don't know if it's the fastest but works pretty good so far