Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php knoww if array has duplicate values

if (count($array) === count(array_unique($array))) {
		//values are unique
}
 
PREVIOUS NEXT
Tagged: #php #knoww #array #duplicate #values
ADD COMMENT
Topic
Name
8+9 =