3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array(1,234,6,23,6,834,72,6); asort($arr); print_r($arr);
based on 3lRuL
Output for 7.0.0 - 7.2.0
Array ( [0] => 1 [2] => 6 [4] => 6 [7] => 6 [3] => 23 [6] => 72 [1] => 234 [5] => 834 )
Output for 5.3.19 - 5.6.28
Array ( [0] => 1 [2] => 6 [7] => 6 [4] => 6 [3] => 23 [6] => 72 [1] => 234 [5] => 834 )