Source Code:
(back to article)
<?php $input = array(1, 2, 2, 3, 4, 4); $result = array_unique($input); print_r($result); ?>
Result:
Report an issue