3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test_date = "06/02/2014"; $todays_date = date("d/m/Y"); if (strtotime($test_date) < strtotime($todays_date)) { echo "Pasttttt"; } else { echo "Futureeeee"; }

preferences:
43.8 ms | 402 KiB | 5 Q