3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myDate = new DateTime('26-11-2018'); // 13-11-2017 is not between you can test $start = new DateTime('1-11-2018'); $end = new DateTime('30-11-2018'); if ($myDate > $start && $myDate < $end ){ echo "Date is between"; }else{ echo "Date is not between!"; } ?>

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.4.140.0110.01017.55
8.4.130.0120.00717.93
8.4.120.0120.00820.46
8.4.110.0120.00820.34
8.4.100.0120.00817.91
8.4.90.0110.00920.64
8.4.80.0070.01118.88
8.4.70.0100.01118.05
8.4.60.0110.00620.41
8.4.50.0080.01317.79
8.4.40.0060.00319.64
8.4.30.0040.00419.51
8.4.20.0170.00320.74
8.4.10.0060.00318.00
8.3.270.0200.00716.42
8.3.260.0120.00716.51
8.3.250.0130.00719.03
8.3.240.0060.00316.82
8.3.230.0090.01016.42
8.3.220.0140.00318.96
8.3.210.0050.00316.61
8.3.200.0050.00416.54
8.3.190.0080.00617.38
8.3.180.0130.00717.08
8.3.170.0110.00716.60
8.3.160.0070.01116.71
8.3.150.0090.00618.93
8.3.140.0030.00617.34
8.3.130.0060.00318.60
8.3.120.0100.01018.67
8.3.110.0080.00820.94
8.3.100.0040.00424.06
8.3.90.0110.00326.77
8.3.80.0030.00618.43
8.3.70.0160.00318.68
8.3.60.0070.01118.31
8.3.50.0110.00618.46
8.3.40.0100.00718.93
8.3.30.0110.00418.97
8.3.20.0050.00318.98
8.3.10.0030.00523.61
8.3.00.0080.00021.01
8.2.290.0110.00816.95
8.2.280.0080.01020.14
8.2.270.0100.00719.01
8.2.260.0030.00616.72
8.2.250.0050.00316.54
8.2.240.0150.00317.06
8.2.230.0050.00322.58
8.2.220.0090.00937.54
8.2.210.0110.00426.77
8.2.200.0090.00016.63
8.2.190.0040.01118.57
8.2.180.0160.00718.48
8.2.170.0070.01419.02
8.2.160.0070.00722.96
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0000.00721.02
8.2.120.0050.00326.35
8.2.110.0060.00321.12
8.2.100.0070.00717.84
8.2.90.0000.00819.23
8.2.80.0000.00817.97
8.2.70.0080.00017.88
8.2.60.0040.00418.05
8.2.50.0030.00518.07
8.2.40.0080.00020.07
8.2.30.0000.00718.14
8.2.20.0000.00718.30
8.2.10.0000.00718.15
8.2.00.0000.00819.37
8.1.330.0090.00916.34
8.1.320.0130.00716.24
8.1.310.0080.00018.67
8.1.300.0080.00018.31
8.1.290.0040.00430.84
8.1.280.0120.00625.92
8.1.270.0040.00422.24
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0090.00020.88
8.1.230.0120.00019.08
8.1.220.0000.00917.80
8.1.210.0050.00318.77
8.1.200.0000.00817.48
8.1.190.0000.00817.47
8.1.180.0040.00418.10
8.1.170.0060.00318.71
8.1.160.0020.00518.83
8.1.150.0040.00418.84
8.1.140.0050.00222.14
8.1.130.0070.00017.61
8.1.120.0050.00317.57
8.1.110.0000.00817.50
8.1.100.0000.01017.59
8.1.90.0050.00217.66
8.1.80.0000.00717.66
8.1.70.0000.00717.62
8.1.60.0060.00317.54
8.1.50.0030.00917.60
8.1.40.0040.00417.54
8.1.30.0000.00817.81
8.1.20.0040.00417.74
8.1.10.0040.00417.67
8.1.00.0040.00417.70
8.0.300.0080.00018.77
8.0.290.0040.00716.88
8.0.280.0000.00718.53
8.0.270.0070.00017.28
8.0.260.0030.00317.04
8.0.250.0070.00017.12
8.0.240.0000.00717.16
8.0.230.0070.00017.05
8.0.220.0040.00417.13
8.0.210.0050.00217.06
8.0.200.0030.00317.12
8.0.190.0000.00817.18
8.0.180.0000.00817.16
8.0.170.0080.00417.14
8.0.160.0040.00417.17
8.0.150.0050.00517.01
8.0.140.0050.00517.12
8.0.130.0030.00313.47
8.0.120.0050.00217.11
8.0.110.0030.00517.14
8.0.100.0040.00416.89
8.0.90.0000.00717.00
8.0.80.0100.00717.02
8.0.70.0030.00316.91
8.0.60.0000.00717.12
8.0.50.0020.00516.96
8.0.30.0100.00817.28
8.0.20.0060.01217.40
8.0.10.0040.00417.34
8.0.00.0150.00416.91
7.4.330.0000.00515.55
7.4.320.0060.00016.65
7.4.300.0030.00316.73
7.4.290.0020.00516.70
7.4.280.0060.00316.61
7.4.270.0000.00716.75
7.4.260.0000.00716.59
7.4.250.0000.00716.68
7.4.240.0000.00716.69
7.4.230.0040.00416.54
7.4.220.0000.00916.83
7.4.210.0090.01016.68
7.4.200.0000.00716.54
7.4.160.0100.00916.68
7.4.140.0130.00917.86
7.4.130.0080.00916.69
7.4.120.0110.00816.68
7.4.110.0140.00416.63
7.4.100.0060.00916.55
7.4.90.0150.00316.80
7.4.80.0130.01019.39
7.4.70.0070.01416.59
7.4.60.0070.01116.60
7.4.50.0090.00916.54
7.4.40.0110.00616.68
7.4.00.0070.00615.19
7.3.330.0000.00513.10
7.3.320.0000.00513.23
7.3.310.0000.00716.43
7.3.300.0070.00016.18
7.3.290.0050.00316.32
7.3.280.0120.00216.36
7.3.260.0090.00916.56
7.3.240.0070.01216.49
7.3.230.0030.01316.59
7.3.210.0110.00616.64
7.3.200.0080.00816.68
7.3.190.0120.00916.59
7.3.180.0030.01316.48
7.3.170.0100.00616.55
7.3.160.0100.00716.56
7.3.120.0070.01015.07
7.3.110.0030.01014.93
7.3.100.0030.01215.07
7.3.90.0090.00614.92
7.3.80.0030.01414.97
7.3.70.0120.00014.99
7.3.60.0050.00515.03
7.3.50.0030.01015.00
7.3.40.0150.00014.97
7.3.30.0030.00614.52
7.3.20.0040.00416.55
7.3.10.0050.00816.67
7.3.00.0090.00216.70
7.2.330.0110.00716.79
7.2.320.0130.00616.46
7.2.310.0090.00916.48
7.2.300.0080.00816.57
7.2.290.0100.00616.69
7.2.250.0140.00714.89
7.2.240.0100.00715.14
7.2.230.0000.01514.84
7.2.220.0090.00615.01
7.2.210.0040.01415.09
7.2.200.0070.00415.08
7.2.190.0120.00315.20
7.2.180.0000.01115.27
7.2.170.0060.00915.10
7.2.160.0060.00615.08
7.2.150.0080.00416.87
7.2.140.0030.01217.31
7.2.130.0060.00616.75
7.2.120.0600.00916.29
7.2.110.0600.00916.29
7.2.100.0720.00616.30
7.2.90.0580.00916.01
7.2.80.0560.00716.13
7.2.70.0650.00516.21
7.2.60.0600.00816.48
7.2.50.0720.00416.28
7.2.40.0600.00716.39
7.2.30.0440.00716.41
7.2.20.0580.00816.31
7.2.10.0610.00716.38
7.2.00.0740.00716.41
7.1.330.0070.01015.64
7.1.320.0100.00315.68
7.1.310.0070.00715.93
7.1.300.0070.00715.91
7.1.290.0030.01015.88
7.1.280.0110.00015.96
7.1.270.0030.00615.89
7.1.260.0040.00915.54
7.1.250.0100.00515.83
7.1.240.0810.00614.80
7.1.230.1000.00914.81
7.1.220.1070.00714.86
7.1.210.1020.00714.70
7.1.200.0430.00714.87
7.1.190.0900.00814.71
7.1.180.0780.01315.02
7.1.170.0940.01014.98
7.1.160.0930.00714.79
7.1.150.0700.00814.73
7.1.140.0960.00714.82
7.1.130.0930.01014.88
7.1.120.0920.01014.91
7.1.110.1000.00514.92
7.1.100.0990.00714.90
7.1.90.0540.00814.80
7.1.80.0990.00814.88
7.1.70.1020.00914.92
7.1.60.1060.00614.80
7.1.50.1130.00114.84
7.1.40.1000.00814.65
7.1.30.0970.00614.92
7.1.20.1130.00614.88
7.1.10.1130.00914.71
7.1.00.0920.00714.75
7.0.330.0040.01115.37
7.0.320.0100.00315.54
7.0.310.0090.00015.46
7.0.300.0040.01115.51
7.0.290.0030.01015.50
7.0.280.0030.01215.57
7.0.270.0000.00815.52
7.0.260.0040.00815.66
7.0.250.0030.00915.56
7.0.240.0110.00715.58
7.0.230.0060.00815.57
7.0.220.0100.00715.83
7.0.210.0000.01315.60
7.0.200.0060.00615.72
7.0.190.0040.00815.31
7.0.180.0060.00615.55
7.0.170.0080.00015.71
7.0.160.0030.00815.58
7.0.150.0100.00615.37
7.0.140.0090.00315.75
7.0.130.0030.00615.52
7.0.120.0070.00715.52
7.0.110.0100.00315.54
7.0.100.0000.01215.61
7.0.90.0040.00715.36
7.0.80.0030.00815.52
7.0.70.0040.00815.54
7.0.60.0030.00515.63
7.0.50.0030.00615.81
7.0.40.0040.01113.60
7.0.30.0060.00613.79
7.0.20.0060.00613.62
7.0.10.0040.00413.77
7.0.00.0040.00813.60
5.6.400.0080.00414.40
5.6.390.0150.00314.63
5.6.380.0040.01314.33
5.6.370.0060.00314.45
5.6.360.0040.00814.72
5.6.350.0030.00914.59
5.6.340.0140.00014.66
5.6.330.0040.01114.71
5.6.320.0070.00414.48
5.6.310.0100.00614.73
5.6.300.0030.00614.48
5.6.290.0030.00914.29
5.6.280.0000.01414.54
5.6.270.0080.00814.21
5.6.260.0070.00714.39
5.6.250.0060.00614.39
5.6.240.0110.00314.41
5.6.230.0100.00314.45
5.6.220.0100.00314.25
5.6.210.0060.00914.45
5.6.200.0060.00614.61
5.6.190.0040.00814.38
5.6.180.0060.00914.73
5.6.170.0110.00314.42
5.6.160.0040.00814.37
5.6.150.0030.01314.21
5.6.140.0030.01014.51
5.6.130.0080.00514.28
5.6.120.0030.01314.35
5.6.110.0030.01314.30
5.6.100.0030.01314.48
5.6.90.0070.00414.27
5.6.80.0040.01114.26
5.6.70.0030.01014.42
5.6.60.0060.00614.24
5.6.50.0040.01114.32
5.6.40.0040.00414.24
5.6.30.0060.00914.29
5.6.20.0030.00914.29
5.6.10.0000.01314.32
5.6.00.0000.01014.34

preferences:
122.73 ms | 403 KiB | 5 Q