3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date1 = '10-08-90'; $date2 = '04-17-77'; if($date2 < $date1){ echo 'Date2 less'; }else{ echo 'Date1 less'; }
Output for 5.3.18 - 7.2.0
Date2 less