I need to make app with will fill array with some random values, but if in array are duplicates my app not working correctly. So I need to write script code which will find
Use the function array_unique()
See more info at http://php.net/manual/en/function.array-unique.php