<?php $elements = array(1,2,3,1,2,4); foreach(array_unique($elements) as $el) { echo $el . PHP_EOL; }
You have javascript disabled. You will not be able to edit any code.