3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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"); ?>
based on UFpdU
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.4.10 - 5.6.16
Parse error: syntax error, unexpected '2015' (T_LNUMBER) in /in/Y8roP on line 5
Process exited with code 255.
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected T_LNUMBER in /in/Y8roP on line 5
Process exited with code 255.