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
$uniques = array(); foreach ($charset as $value) $uniques[$value] = true; $charset = array_flip($uniques);