3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array("5", "7", "11", "2", "10"); sort($a); echo ($a[0]);
based on ffHVT
Output for 4.3.0 - 7.1.0
2