3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = array("123", "0124", "125", "0"); sort($foo); var_dump($foo);
Output for 4.3.0 - 7.2.0
array(4) { [0]=> string(1) "0" [1]=> string(3) "123" [2]=> string(4) "0124" [3]=> string(3) "125" }