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.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.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.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:
60.9 ms | 406 KiB | 5 Q