3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $groups = array(1,3,5,6,7,3,3,3,2,7,8); print_r(array_unique($groups),SORT_REGULAR);
based on VQKWC
Output for 4.3.0 - 7.3.0rc4
Array ( [0] => 1 [1] => 3 [2] => 5 [3] => 6 [4] => 7 [8] => 2 [10] => 8 )