3v4l.org

run code in 300+ PHP versions simultaneously
<?php $first = new DateTime("2015/12/02 07:59:15"); $second = new DateTime(); var_dump($first > $second); $first = new DateTime("2017/12/02 07:59:15"); $second = new DateTime(); var_dump($first > $second);

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.20.0100.01017.63
8.4.10.0040.00817.74
8.3.150.0080.00017.25
8.3.140.0060.01218.28
8.3.130.0060.01018.46
8.3.120.0080.00018.88
8.3.110.0000.00920.94
8.3.100.0000.00724.06
8.3.90.0120.00326.77
8.3.80.0060.00318.43
8.3.70.0060.00918.55
8.3.60.0070.00716.63
8.3.50.0220.00822.12
8.3.40.0120.00318.94
8.3.30.0070.00718.84
8.3.20.0000.00819.99
8.3.10.0000.00823.68
8.3.00.0040.00419.72
8.2.270.0090.00917.34
8.2.260.0180.00016.49
8.2.250.0040.00416.57
8.2.240.0040.00417.27
8.2.230.0030.00622.58
8.2.220.0090.00037.54
8.2.210.0080.00026.77
8.2.200.0040.00718.41
8.2.190.0140.00716.88
8.2.180.0100.01016.47
8.2.170.0070.00722.96
8.2.160.0100.00720.43
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00421.19
8.2.120.0050.00326.35
8.2.110.0060.00319.27
8.2.100.0030.00917.84
8.2.90.0040.00417.97
8.2.80.0000.00918.05
8.2.70.0040.00418.16
8.2.60.0000.00918.20
8.2.50.0090.00018.07
8.2.40.0050.00321.10
8.2.30.0000.00820.61
8.2.20.0030.00617.90
8.2.10.0040.00418.08
8.2.00.0000.00717.99
8.1.310.0030.01216.79
8.1.300.0040.01120.13
8.1.290.0090.00018.88
8.1.280.0130.00325.92
8.1.270.0080.00020.38
8.1.260.0000.00728.09
8.1.250.0000.00828.09
8.1.240.0060.00323.77
8.1.230.0040.00722.82
8.1.220.0040.00417.79
8.1.210.0050.00518.85
8.1.200.0030.00617.48
8.1.190.0040.00417.36
8.1.180.0030.00618.10
8.1.170.0000.00918.71
8.1.160.0050.00220.80
8.1.150.0040.00418.94
8.1.140.0040.00419.59
8.1.130.0070.00017.80
8.1.120.0050.00217.54
8.1.110.0070.00017.68
8.1.100.0030.00617.69
8.1.90.0070.00017.53
8.1.80.0040.00417.69
8.1.70.0000.00717.48
8.1.60.0070.00017.68
8.1.50.0060.00317.64
8.1.40.0040.00417.55
8.1.30.0050.00317.77
8.1.20.0040.00417.60
8.1.10.0060.00317.61
8.1.00.0040.00417.64
8.0.300.0000.00919.82
8.0.290.0000.00716.88
8.0.280.0040.00418.43
8.0.270.0000.00717.20
8.0.260.0000.00617.36
8.0.250.0040.00417.16
8.0.240.0000.00717.16
8.0.230.0000.00817.19
8.0.220.0050.00317.07
8.0.210.0000.00717.05
8.0.200.0060.00017.14
8.0.190.0090.00317.13
8.0.180.0070.00017.03
8.0.170.0000.00817.13
8.0.160.0080.00017.02
8.0.150.0030.00317.07
8.0.140.0030.00317.09
8.0.130.0000.00513.47
8.0.120.0000.00817.05
8.0.110.0040.00416.95
8.0.100.0000.00717.07
8.0.90.0070.00017.06
8.0.80.0040.01117.09
8.0.70.0040.00417.09
8.0.60.0000.00816.98
8.0.50.0050.00217.15
8.0.30.0100.01017.29
8.0.20.0150.00617.42
8.0.10.0000.00817.27
8.0.00.0160.00216.80
7.4.330.0000.00516.66
7.4.320.0000.00616.75
7.4.300.0030.00316.77
7.4.290.0030.00316.66
7.4.280.0060.00516.61
7.4.270.0020.00516.65
7.4.260.0000.00816.62
7.4.250.0060.00316.48
7.4.240.0040.00416.69
7.4.230.0040.00416.71
7.4.220.0100.01616.63
7.4.210.0080.00516.77
7.4.200.0040.00416.76
7.4.160.0090.00616.64
7.4.150.0090.00917.40
7.4.140.0090.01617.86
7.4.130.0100.00716.57
7.4.120.0120.00816.54
7.4.110.0150.00316.80
7.4.100.0110.00616.66
7.4.90.0070.01016.49
7.4.80.0120.00619.39
7.4.70.0120.00616.67
7.4.60.0120.00616.62
7.4.50.0100.00516.71
7.4.40.0090.01216.41
7.4.30.0130.00716.61
7.4.00.0100.00314.89
7.3.330.0030.00313.15
7.3.320.0030.00313.23
7.3.310.0000.00716.25
7.3.300.0030.00416.32
7.3.290.0080.00716.35
7.3.280.0080.01016.34
7.3.270.0070.01017.40
7.3.260.0060.01816.51
7.3.240.0100.00816.58
7.3.230.0120.00416.59
7.3.210.0090.00616.32
7.3.200.0100.00716.50
7.3.190.0190.00316.50
7.3.180.0060.00916.57
7.3.170.0060.01316.56
7.3.160.0120.00616.56
7.2.330.0100.00716.56
7.2.320.0130.00916.55
7.2.310.0100.00616.82
7.2.300.0030.01416.77
7.2.290.0060.01216.79
7.2.60.0030.01317.05
7.1.200.0050.00815.80
7.1.100.0030.00918.00
7.1.70.0040.00717.07
7.1.60.0040.01519.05
7.1.50.0100.01016.76
7.1.00.0070.07022.32
7.0.200.0030.00716.84
7.0.60.0070.04019.78
7.0.50.0000.04317.91
7.0.40.0170.07719.95
7.0.30.0470.05020.19
7.0.20.0330.04320.24
7.0.10.0170.07720.04
7.0.00.0030.04320.18
5.6.280.0030.06021.07
5.6.210.0070.05020.46
5.6.200.0130.08018.13
5.6.190.0100.06720.41
5.6.180.0230.03720.42
5.6.170.0300.07320.50
5.6.160.0030.04020.48
5.6.150.0100.08018.15
5.6.140.0000.07018.18
5.6.130.0030.04318.15
5.6.120.0000.04321.01
5.6.110.0030.09021.01
5.6.100.0130.08021.03
5.6.90.0000.04720.87
5.6.80.0030.09320.37
5.5.350.0170.07020.29
5.5.340.0070.06317.92
5.5.330.0030.04720.37
5.5.320.0470.04320.43
5.5.310.0330.06020.26
5.5.300.0100.07017.94
5.5.290.0030.04017.92
5.5.280.0070.05720.89
5.5.270.0070.04720.87
5.5.260.0100.07020.64
5.5.250.0170.07320.68
5.5.240.0230.07320.34

preferences:
27.05 ms | 403 KiB | 5 Q