3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new \DateTime('2015-01-26 14:55:30'); var_dump(\DateTime::createFromFormat('c', $date->format('c')), DateTime::getLastErrors());

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.0160.00317.52
8.4.10.0170.00017.82
8.3.140.0100.00517.13
8.3.130.0040.00418.38
8.3.120.0090.00920.51
8.3.110.0000.00920.94
8.3.100.0030.00620.25
8.3.90.0040.00426.77
8.3.80.0050.00517.97
8.3.70.0090.01216.87
8.3.60.0140.00418.55
8.3.50.0120.00621.99
8.3.40.0100.01018.97
8.3.30.0060.01218.79
8.3.20.0000.00820.04
8.3.10.0030.00521.93
8.3.00.0040.00420.80
8.2.260.0100.00017.07
8.2.250.0080.00016.66
8.2.240.0000.01517.25
8.2.230.0090.00022.58
8.2.220.0060.00337.54
8.2.210.0040.00426.77
8.2.200.0030.00716.88
8.2.190.0040.01116.58
8.2.180.0100.01018.11
8.2.170.0140.00022.96
8.2.160.0090.00618.86
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0000.00820.40
8.2.120.0080.00026.35
8.2.110.0060.00321.11
8.2.100.0080.00417.93
8.2.90.0040.00419.13
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0040.00417.93
8.2.50.0000.00918.10
8.2.40.0000.00820.23
8.2.30.0030.00519.15
8.2.20.0070.00017.82
8.2.10.0070.00018.11
8.2.00.0000.00717.98
8.1.310.0000.00818.38
8.1.300.0000.00817.98
8.1.290.0000.00930.84
8.1.280.0070.00725.92
8.1.270.0040.00423.83
8.1.260.0030.00628.09
8.1.250.0040.00428.09
8.1.240.0060.00323.84
8.1.230.0060.00617.64
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.48
8.1.190.0000.00817.47
8.1.180.0000.00818.10
8.1.170.0040.00418.70
8.1.160.0000.00718.95
8.1.150.0040.00418.80
8.1.140.0000.00719.58
8.1.130.0000.00817.70
8.1.120.0000.00817.50
8.1.110.0040.00417.48
8.1.100.0000.00817.54
8.1.90.0040.00417.47
8.1.80.0040.00417.55
8.1.70.0040.00417.49
8.1.60.0080.00017.63
8.1.50.0050.00317.54
8.1.40.0040.00417.47
8.1.30.0060.00317.63
8.1.20.0030.00617.64
8.1.10.0050.00317.63
8.1.00.0030.00617.67
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0070.00018.47
8.0.270.0000.00717.27
8.0.260.0060.00017.32
8.0.250.0060.00017.14
8.0.240.0030.00317.09
8.0.230.0030.00917.06
8.0.220.0040.00416.95
8.0.210.0000.00716.91
8.0.200.0040.00417.05
8.0.190.0000.00717.07
8.0.180.0040.00417.03
8.0.170.0040.00417.05
8.0.160.0030.00317.02
8.0.150.0040.00416.93
8.0.140.0060.00416.97
8.0.130.0070.00013.44
8.0.120.0030.00517.09
8.0.110.0040.00417.05
8.0.100.0040.00416.89
8.0.90.0040.00416.90
8.0.80.0130.01017.02
8.0.70.0040.00416.92
8.0.60.0000.00716.99
8.0.50.0030.00616.96
8.0.30.0120.00617.19
8.0.20.0100.01117.40
8.0.10.0050.00217.22
8.0.00.0130.00616.85
7.4.330.0000.00516.79
7.4.320.0030.00316.67
7.4.300.0000.00616.51
7.4.290.0000.00716.64
7.4.280.0070.00716.63
7.4.270.0070.00016.72
7.4.260.0000.00716.64
7.4.250.0000.00816.54
7.4.240.0030.00616.64
7.4.230.0030.00316.68
7.4.220.0120.00916.58
7.4.210.0070.00716.67
7.4.200.0000.00716.47
7.4.160.0110.00616.64
7.4.150.0210.00417.40
7.4.140.0110.00917.86
7.4.130.0100.01116.54
7.4.120.0150.00616.45
7.4.110.0100.00716.37
7.4.100.0090.01516.70
7.4.90.0090.00816.40
7.4.80.0080.00819.39
7.4.70.0110.00516.68
7.4.60.0090.00816.56
7.4.50.0060.00616.54
7.4.40.0130.00316.63
7.4.30.0030.01616.36
7.4.00.0090.00614.96
7.3.330.0060.00013.25
7.3.320.0000.00613.07
7.3.310.0030.00316.13
7.3.300.0030.00316.19
7.3.290.0030.01216.27
7.3.280.0100.01016.26
7.3.270.0120.00917.40
7.3.260.0090.00816.37
7.3.250.0080.01016.43
7.3.240.0170.00516.43
7.3.230.0070.01016.39
7.3.210.0120.00616.59
7.3.200.0040.01816.50
7.3.190.0140.00316.55
7.3.180.0060.00916.56
7.3.170.0110.01116.34
7.3.160.0130.00416.28
7.2.330.0130.00916.55
7.2.320.0120.00416.63
7.2.310.0070.01116.38
7.2.300.0080.00816.77
7.2.290.0170.00716.48
7.2.60.0080.00817.07
7.2.00.0060.00619.33
7.1.200.0030.00615.97
7.1.100.0060.00918.05
7.1.70.0030.00317.05
7.1.60.0060.01919.90
7.1.00.0030.07722.31
7.0.200.0210.00014.82
7.0.70.1170.06520.03
7.0.60.1100.07319.82
7.0.50.1370.08020.38
7.0.40.1030.07020.25
7.0.30.1470.08320.38
7.0.20.1130.06020.30
7.0.10.1330.06020.26
7.0.00.1200.06320.33
5.6.280.0070.07021.02
5.6.220.1100.06020.71
5.6.210.0930.07320.64
5.6.200.1030.07321.20
5.6.190.1070.06021.14
5.6.180.1500.07320.97
5.6.170.1000.09021.18
5.6.160.1130.07021.09
5.6.150.1100.06321.08
5.6.140.1030.07020.97
5.6.130.1130.06321.01
5.6.120.1070.08021.03
5.6.110.1370.05720.98
5.6.100.1070.06021.00
5.6.90.1200.06021.11
5.6.80.1030.06720.52
5.6.70.1230.05020.55
5.6.60.1100.06720.47
5.6.50.1000.05720.46
5.6.40.1230.05320.46
5.6.30.1030.07020.50
5.6.20.0400.05320.52
5.6.10.1270.05020.52
5.6.00.1300.05020.51
5.5.360.0970.06720.39
5.5.350.0800.06720.50
5.5.340.0870.06720.93
5.5.330.1000.06320.86
5.5.320.1030.06720.89
5.5.310.1400.07320.96
5.5.300.1370.06020.70
5.5.290.1300.04320.93
5.5.280.0900.07320.91
5.5.270.1300.07020.96
5.5.260.1630.07320.69
5.5.250.0830.07320.77
5.5.240.1130.06020.32
5.5.230.1300.06020.31
5.5.220.1170.05320.20
5.5.210.1100.06020.32
5.5.200.0930.05720.14
5.5.190.0830.06320.30
5.5.180.0570.06320.30
5.5.160.1030.05720.01
5.5.150.1130.05320.19
5.5.140.1100.06320.29
5.5.130.1070.05720.05
5.5.120.1100.05720.27
5.5.110.1070.06320.22
5.5.100.1100.05320.20
5.5.90.1200.05320.23
5.5.80.1130.05020.09
5.5.70.0970.06020.06
5.5.60.1000.05320.14
5.5.50.0970.05719.99
5.5.40.1070.05020.01
5.5.30.0970.05720.18
5.5.20.0970.06020.18
5.5.10.1000.06719.97
5.5.00.1170.05020.09

preferences:
81.84 ms | 403 KiB | 5 Q