3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function GetUniqueOnes($arr) { return implode(',', array_unique($arr)); } echo GetUniqueOnes(array(34,54,67,68,141,151,161,141,54,151,54));
Output for 4.3.0 - 7.1.0
34,54,67,68,141,151,161