3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array("num2ber", "num1ber", "num10ber"); asort($arr, SORT_REGULAR); var_dump($arr);
Output for 4.3.0 - 7.2.0
array(3) { [2]=> string(8) "num10ber" [1]=> string(7) "num1ber" [0]=> string(7) "num2ber" }