3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array ( 0 => 'book1.pdf', 1 => 'book11.pdf', 2 => 'book12.pdf', 3 => 'book2.pdf' ) ; print_r(sort($a));
Output for 4.3.0 - 7.1.0
1