public static function array_iunique(array $array)
    {
        $tmp = array();

        foreach ($array as $key => $value) {
            if (!self::in_iarray($value, $tmp)) {
                $tmp[$key] = $value;
            }
        }

        return $tmp;
    }
public static function array_iunique(array $array)
    {
        $tmp = array();

        foreach ($array as $key => $value) {
            if (!self::in_iarray($value, $tmp)) {
                $tmp[$key] = $value;
            }
        }

        return $tmp;
    }
public static function array_iunique ( array $ array ) { $ tmp = array ( ) ; foreach ( $ array as $ key => $ value ) { if ( ! self :: in_iarray ( $ value , $ tmp ) ) { $ tmp [ $ key ] = $ value ; } } return $ tmp ; }
Filter the input array for duplicates, treating each element in the array
as a string and comparing them using a case insensitive comparison function.

@param array $array
the array to filter.
@return array
a new array containing only the unique elements of the input array.
Filter the input array for duplicates treating each element in the array as a string and comparing them using a case insensitive comparison function .