The printout of the program above will be (PHP 4.0.6):
?php $input = array( 4 ,"3",3 ,"4",4,4); $result = array_unique($input); print_r($result); / / Cela va afficher: / /Array / / (/ / [0] = 3 / / [1] = 3 / / [2] = 4 / / [3] = 4 / /)?