3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date("Y-m-d H:i", strtotime("now")); if (strtotime("2015-12-10 15:42:00") > strtotime("2015-12-10 6:00:00") && strtotime(date("Y-m-d H:i", strtotime("2015-12-10 6:01:00"))) < strtotime("2015-12-10 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)
8.3.60.0100.01016.63
8.3.50.0170.00222.01
8.3.40.0040.01118.84
8.3.30.0070.00718.56
8.3.20.0070.00020.22
8.3.10.0040.00423.66
8.3.00.0000.00819.97
8.2.180.0090.00616.50
8.2.170.0000.01722.96
8.2.160.0100.00320.39
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0000.01019.30
8.2.120.0050.00326.35
8.2.110.0030.00622.02
8.2.100.0080.00418.03
8.2.90.0030.00619.09
8.2.80.0030.00617.97
8.2.70.0030.00617.63
8.2.60.0030.00517.80
8.2.50.0040.00418.07
8.2.40.0040.00420.52
8.2.30.0030.00320.46
8.2.20.0040.00417.80
8.2.10.0030.00518.11
8.2.00.0040.00418.21
8.1.280.0150.00025.92
8.1.270.0080.00020.17
8.1.260.0060.01028.09
8.1.250.0080.00028.09
8.1.240.0060.00323.97
8.1.230.0030.00719.15
8.1.220.0080.00017.77
8.1.210.0110.00018.77
8.1.200.0060.00317.50
8.1.190.0000.00817.25
8.1.180.0030.00618.10
8.1.170.0030.00518.71
8.1.160.0040.00420.91
8.1.150.0000.00718.97
8.1.140.0060.00319.66
8.1.130.0030.00317.72
8.1.120.0070.00017.57
8.1.110.0040.00417.57
8.1.100.0050.00317.60
8.1.90.0050.00317.65
8.1.80.0070.00017.55
8.1.70.0070.00317.53
8.1.60.0090.00017.61
8.1.50.0040.00417.70
8.1.40.0040.00417.65
8.1.30.0000.00817.80
8.1.20.0030.00517.75
8.1.10.0070.00017.68
8.1.00.0030.00617.52
8.0.300.0070.00018.77
8.0.290.0070.00016.88
8.0.280.0030.00318.55
8.0.270.0070.00017.33
8.0.260.0000.00617.22
8.0.250.0030.00317.07
8.0.240.0000.00617.20
8.0.230.0040.00417.07
8.0.220.0000.00717.13
8.0.210.0030.00317.05
8.0.200.0060.00017.21
8.0.190.0050.00517.20
8.0.180.0050.00316.97
8.0.170.0040.00417.07
8.0.160.0080.00317.12
8.0.150.0080.00016.93
8.0.140.0000.00717.09
8.0.130.0050.00013.54
8.0.120.0030.00517.14
8.0.110.0000.00817.16
8.0.100.0070.00017.06
8.0.90.0060.00317.16
8.0.80.0060.00917.11
8.0.70.0040.00417.21
8.0.60.0040.00417.07
8.0.50.0000.00716.99
8.0.30.0100.01017.12
8.0.20.0130.00717.40
8.0.10.0020.00517.07
8.0.00.0100.00916.93
7.4.330.0000.00516.79
7.4.320.0030.00316.76
7.4.300.0030.00316.73
7.4.290.0030.00316.58
7.4.280.0000.00916.64
7.4.270.0000.00716.63
7.4.260.0080.00016.72
7.4.250.0000.00716.62
7.4.240.0040.00416.73
7.4.230.0030.00316.81
7.4.220.0220.00316.66
7.4.210.0030.01116.65
7.4.200.0030.00316.81
7.4.160.0130.00316.73
7.4.150.0120.00617.40
7.4.140.0080.01217.86
7.4.130.0080.01016.60
7.4.120.0050.01216.76
7.4.110.0100.00616.61
7.4.100.0160.00816.78
7.4.90.0120.00616.74
7.4.80.0060.01119.39
7.4.70.0060.01316.42
7.4.60.0070.01016.71
7.4.50.0100.00716.45
7.4.40.0070.01016.54
7.4.30.0130.00316.76
7.4.00.0110.00415.04
7.3.330.0030.00313.18
7.3.320.0030.00313.17
7.3.310.0030.00316.41
7.3.300.0000.00716.33
7.3.290.0030.00316.29
7.3.280.0100.00616.30
7.3.270.0090.00917.40
7.3.260.0150.00316.61
7.3.250.0100.01016.43
7.3.240.0100.00716.51
7.3.230.0100.01416.59
7.3.210.0130.00316.68
7.3.200.0150.00616.26
7.3.190.0090.01216.40
7.3.180.0070.01016.49
7.3.170.0110.00716.59
7.3.160.0060.00916.53
7.3.10.0100.00616.68
7.3.00.0090.00916.69
7.2.330.0090.00916.52
7.2.320.0070.01016.75
7.2.310.0130.00316.80
7.2.300.0070.01016.71
7.2.290.0080.01116.61
7.2.130.0060.00616.83
7.2.120.0040.01216.81
7.2.110.0040.00816.93
7.2.100.0040.01216.90
7.2.90.0120.00317.05
7.2.80.0050.00716.82
7.2.70.0030.01517.07
7.2.60.0050.00917.02
7.2.50.0040.01116.93
7.2.40.0030.01317.00
7.2.30.0070.01017.05
7.2.20.0100.00316.98
7.2.10.0040.00816.95
7.2.00.0060.00418.09
7.1.250.0030.01015.56
7.1.200.0110.00315.70
7.1.100.0030.00917.98
7.1.70.0000.00817.23
7.1.60.0030.02019.52
7.1.50.0040.00717.18
7.1.00.0100.06722.36
7.0.200.0000.00816.93
7.0.80.0170.08019.92
7.0.70.0500.03319.90
7.0.60.0670.07720.05
7.0.50.0100.06020.31
7.0.40.0130.07320.13
7.0.30.0070.07020.08
7.0.20.0070.08319.92
7.0.10.0130.08020.11
7.0.00.0030.08720.03
5.6.280.0000.06720.86
5.6.230.0030.08320.63
5.6.220.0070.07020.52
5.6.210.0100.07720.55
5.6.200.0100.07021.03
5.6.190.0000.04321.00
5.6.180.0100.08020.95
5.6.170.0070.07021.13
5.6.160.0130.07721.11
5.6.150.0230.06321.00
5.6.140.0170.06721.03
5.6.130.0170.07721.09
5.6.120.0130.08020.95
5.6.110.0100.07320.99
5.6.100.0070.07721.03
5.6.90.0070.06021.02
5.6.80.0070.04720.50
5.6.70.0030.08320.34
5.6.60.0100.07320.54
5.6.50.0100.04020.42
5.6.40.0070.08020.36
5.6.30.0070.05020.43
5.6.20.0070.07720.40
5.6.10.0130.07720.48
5.6.00.0000.05020.44
5.5.370.0130.07720.36
5.5.360.0070.08720.36
5.5.350.0070.07720.39
5.5.340.0100.06020.90
5.5.330.0030.08720.92
5.5.320.0130.08020.82
5.5.310.0070.08020.91
5.5.300.0230.05320.86
5.5.290.0000.09720.86
5.5.280.0230.06720.87
5.5.270.0030.05320.75
5.5.260.0070.08020.84
5.5.250.0130.06320.57
5.5.240.0170.07020.24
5.5.230.0070.05319.98
5.5.220.0100.07720.29
5.5.210.0070.04720.25
5.5.200.0070.08020.15
5.5.190.0030.08720.23
5.5.180.0030.08320.13
5.5.160.0030.04320.21
5.5.150.0030.08320.23
5.5.140.0100.07720.17
5.5.130.0070.05319.98
5.5.120.0100.07320.23
5.5.110.0130.05320.26
5.5.100.0030.08320.17
5.5.90.0070.08020.16
5.5.80.0100.08019.94
5.5.70.0030.05019.99
5.5.60.0170.06320.08
5.5.50.0070.04719.93
5.5.40.0030.04720.04
5.5.30.0100.07320.07
5.5.20.0100.06019.99
5.5.10.0030.05020.04
5.5.00.0170.07719.96

preferences:
56.48 ms | 401 KiB | 5 Q