PHP

PHP check duplicate values in an array and return it