DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php knoww if array has duplicate values
if (count($array) === count(array_unique($array))) { //values are unique }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#php
#knoww
#array
#duplicate
#values
ADD COMMENT
Topic
COMMENT
Name
4+2 =
Submit