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"); ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.0.00.0070.05020.08
5.6.160.0200.07020.50
5.6.150.0030.08318.16
5.6.140.0100.05718.28
5.6.130.0070.06318.12
5.6.120.0100.07720.89
5.6.110.0030.09021.04
5.6.100.0130.07321.13
5.6.90.0130.07320.96
5.6.80.0230.06720.53
5.5.300.0100.03317.94
5.5.290.0070.05018.07
5.5.280.0100.08020.74
5.5.270.0200.03320.79
5.5.260.0030.06320.83
5.5.250.0000.06320.69
5.5.240.3700.03020.18

preferences:
145.63 ms | 1394 KiB | 7 Q