3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date("Y-m-d H:i", strtotime("now")); if (strtotime("2015-12-09 4:00:00") > strtotime("2015-12-09 6:00:00") && strtotime(date("Y-m-d H:i", strtotime("2015-12-09 7:00:00"))) < strtotime(""2015-12-09 6:00:00"")) $result = true; else $result = false; if($result) echo("We can execute"); ?>
Output for 7.0.0
Parse error: syntax error, unexpected '2015' (T_LNUMBER), expecting ',' or ')' in /in/Y8roP on line 5
Process exited with code 255.
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16
Parse error: syntax error, unexpected '2015' (T_LNUMBER) in /in/Y8roP on line 5
Process exited with code 255.

preferences:
160.66 ms | 1395 KiB | 24 Q