3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array('1500', '151', '15a'); sort($a); var_dump($a);
based on 6sJCq
Output for 4.3.0 - 7.2.0
array(3) { [0]=> string(3) "151" [1]=> string(4) "1500" [2]=> string(3) "15a" }