3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test_date = "08/02/2014"; $todays_date = date("d/m/Y"); if (strtotime($test_date) < strtotime($todays_date)) { echo "Pasttttt"; } else { echo "Futureeeee"; }
Output for 4.3.0 - 7.2.0
Futureeeee