Return all repeated values from Array
<?php
function array_repeated($array){
if (!is_array($array))
return false;
$repeated_values = Array();
$array_unique = array_unique($array);
if (count($array) – count($array_unique)
Comments are closed.