3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date1='24/11/2013'; $date2='09/11/2013'; if(strtotime($date1)>0){ echo "valid date1"; } if(strtotime($date2)>0){ echo "valid date2"; }
Output for 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
valid date2
Output for 4.3.0 - 5.0.5
valid date1valid date2