3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTime("Mon Jan 01 20:00:00 GMT-02:00 2018"); var_dump($date); $date = new DateTime("Mon Jan 01 20:00:00 BRST 2017"); var_dump($date);

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.0060.01319.58
8.4.10.0060.00319.86
8.3.150.0070.01117.23
8.3.140.0150.00016.91
8.3.130.0040.00418.50
8.3.120.0000.00820.56
8.3.110.0100.01020.94
8.3.100.0070.00416.65
8.3.90.0130.00618.62
8.3.80.0030.00718.68
8.3.70.0120.00318.30
8.3.60.0120.00916.75
8.3.50.0070.01019.36
8.3.40.0030.01219.14
8.3.30.0120.00318.99
8.3.20.0040.00421.91
8.3.10.0040.00423.67
8.3.00.0060.00321.61
8.2.270.0070.00717.38
8.2.260.0030.00618.85
8.2.250.0090.00016.75
8.2.240.0130.00017.17
8.2.230.0100.00622.58
8.2.220.0030.00637.54
8.2.210.0160.00626.77
8.2.200.0090.00016.63
8.2.190.0120.00617.00
8.2.180.0040.01116.75
8.2.170.0120.00319.07
8.2.160.0060.01019.12
8.2.150.0090.00024.18
8.2.140.0110.00024.66
8.2.130.0000.00826.16
8.2.120.0040.00419.95
8.2.110.0100.00020.47
8.2.100.0080.00318.16
8.2.90.0060.00317.97
8.2.80.0000.00817.88
8.2.70.0050.00317.75
8.2.60.0040.00417.93
8.2.50.0060.00318.07
8.2.40.0040.00418.29
8.2.30.0060.00318.18
8.2.20.0040.00418.12
8.2.10.0040.00418.16
8.2.00.0020.00518.21
8.1.310.0070.01018.74
8.1.300.0120.00618.67
8.1.290.0090.00030.84
8.1.280.0160.00425.92
8.1.270.0080.00022.18
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.46
8.1.230.0000.01120.98
8.1.220.0060.00317.74
8.1.210.0080.00018.91
8.1.200.0100.00017.48
8.1.190.0030.00617.48
8.1.180.0060.00318.10
8.1.170.0030.00518.71
8.1.160.0040.00418.96
8.1.150.0070.00018.84
8.1.140.0040.00419.07
8.1.130.0000.00717.83
8.1.120.0040.00417.57
8.1.110.0040.00417.56
8.1.100.0050.00217.72
8.1.90.0000.00817.50
8.1.80.0000.00717.62
8.1.70.0000.00717.52
8.1.60.0050.00217.67
8.1.50.0040.00817.73
8.1.40.0030.00617.64
8.1.30.0040.00417.91
8.1.20.0040.00417.67
8.1.10.0000.00817.64
8.1.00.0040.00417.66
8.0.300.0000.00819.82
8.0.290.0040.00417.13
8.0.280.0000.00818.50
8.0.270.0000.00717.32
8.0.260.0000.00717.29
8.0.250.0000.00717.12
8.0.240.0100.00017.16
8.0.230.0050.00217.28
8.0.220.0030.00317.09
8.0.210.0000.00617.13
8.0.200.0000.00617.17
8.0.190.0050.00217.21
8.0.180.0090.00317.14
8.0.170.0040.00417.14
8.0.160.0040.00317.19
8.0.150.0090.00317.05
8.0.140.0070.00017.04
8.0.130.0040.00413.55
8.0.120.0000.00817.04
8.0.110.0070.00017.05
8.0.100.0070.00016.97
8.0.90.0000.00717.22
8.0.80.0060.00917.20
8.0.70.0070.00317.10
8.0.60.0030.00517.19
8.0.50.0000.00717.01
8.0.30.0110.00717.20
8.0.20.0140.00817.42
8.0.10.0080.00017.09
8.0.00.0120.00816.98
7.4.330.0000.00415.55
7.4.320.0070.00016.75
7.4.300.0070.00016.68
7.4.290.0030.00716.82
7.4.280.0040.00416.84
7.4.270.0000.00816.78
7.4.260.0050.00516.70
7.4.250.0040.00416.77
7.4.240.0030.00516.79
7.4.230.0000.00716.68
7.4.220.0050.00316.90
7.4.210.0080.01016.79
7.4.200.0040.00416.71
7.4.160.0090.00816.73
7.4.150.0120.00917.40
7.4.140.0120.00817.86
7.4.130.0110.00916.50
7.4.120.0120.00816.70
7.4.110.0030.01316.69
7.4.100.0060.01216.55
7.4.90.0100.00716.91
7.4.80.0100.01219.39
7.4.70.0030.01416.85
7.4.60.0030.01316.77
7.4.50.0040.01416.53
7.4.40.0120.00616.73
7.4.00.0040.01215.21
7.3.330.0020.00213.36
7.3.320.0030.00313.32
7.3.310.0000.00716.55
7.3.300.0040.00416.52
7.3.290.0000.00716.45
7.3.280.0070.00716.46
7.3.270.0100.01717.40
7.3.260.0120.00716.59
7.3.250.0080.00916.55
7.3.240.0080.01316.67
7.3.230.0190.00316.75
7.3.210.0130.00316.56
7.3.200.0170.00016.54
7.3.190.0000.01616.46
7.3.180.0080.00816.49
7.3.170.0120.00416.54
7.3.160.0050.01016.52
7.2.330.0070.01316.58
7.2.320.0060.01216.61
7.2.310.0150.00416.48
7.2.300.0000.01716.87
7.2.290.0070.01016.56
7.2.60.0090.00316.85
7.2.00.0280.00918.74
7.1.200.0100.00315.85
7.1.120.0290.00717.71
7.1.110.0210.00917.01
7.1.100.0200.00917.02
7.1.90.0230.00916.98
7.1.80.0250.01217.03
7.1.70.0260.01316.01
7.1.60.0320.01433.90
7.1.50.0430.00933.71
7.1.40.0490.00733.38
7.1.30.0410.01533.33
7.1.20.0360.01333.40
7.1.10.0220.01115.61
7.1.00.0260.00715.66

preferences:
36.58 ms | 403 KiB | 5 Q