3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array ("2007-01-12","2007-01-13","2007-01-01"); sort($a); var_dump($a);
Output for 4.3.0 - 7.1.0
array(3) { [0]=> string(10) "2007-01-01" [1]=> string(10) "2007-01-12" [2]=> string(10) "2007-01-13" }