3v4l.org

run code in 300+ PHP versions simultaneously
<?php $UTC = new DateTimeZone("UTC"); $newTZ = new DateTimeZone("America/New_York"); $d = new DateTime('20100510133046.0Z'); echo $d->format('Y-m-d H:i:s');

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.3.70.0060.01016.48
8.3.60.0200.00016.88
8.3.50.0100.00921.26
8.3.40.0210.00019.10
8.3.30.0070.00719.09
8.3.20.0000.00820.39
8.3.10.0000.01421.73
8.3.00.0040.00423.70
8.2.180.0070.00716.88
8.2.170.0070.00722.96
8.2.160.0100.00720.38
8.2.150.0040.00425.66
8.2.140.0110.00724.66
8.2.130.0050.00319.83
8.2.120.0000.01426.35
8.2.110.0070.00322.08
8.2.100.0040.00818.05
8.2.90.0060.00319.09
8.2.80.0080.00018.05
8.2.70.0080.00317.75
8.2.60.0000.00817.92
8.2.50.0000.00818.07
8.2.40.0050.00322.32
8.2.30.0030.00519.57
8.2.20.0000.00717.84
8.2.10.0000.00818.09
8.2.00.0070.00018.14
8.1.280.0100.01025.92
8.1.270.0070.00323.96
8.1.260.0060.00628.09
8.1.250.0040.00428.09
8.1.240.0090.00022.61
8.1.230.0040.00719.16
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0090.00017.35
8.1.190.0040.00417.48
8.1.180.0040.00418.10
8.1.170.0080.00018.35
8.1.160.0000.00720.77
8.1.150.0080.00018.81
8.1.140.0030.00519.64
8.1.130.0000.00717.59
8.1.120.0030.00317.71
8.1.110.0020.00717.64
8.1.100.0040.00417.57
8.1.90.0040.00417.62
8.1.80.0040.00417.50
8.1.70.0000.00717.50
8.1.60.0000.00917.64
8.1.50.0030.00517.64
8.1.40.0100.00017.57
8.1.30.0000.00817.86
8.1.20.0030.00617.68
8.1.10.0040.00417.71
8.1.00.0030.00517.66
8.0.300.0050.00218.77
8.0.290.0040.00416.75
8.0.280.0030.00318.45
8.0.270.0000.00717.23
8.0.260.0000.00716.92
8.0.250.0030.00317.21
8.0.240.0030.00317.19
8.0.230.0060.00317.17
8.0.220.0030.00317.15
8.0.210.0050.00317.02
8.0.200.0030.00317.14
8.0.190.0030.00617.13
8.0.180.0000.00717.00
8.0.170.0040.00417.13
8.0.160.0070.00017.04
8.0.150.0040.00416.96
8.0.140.0030.00517.02
8.0.130.0030.00313.51
8.0.120.0040.00416.96
8.0.110.0000.00717.05
8.0.100.0000.00717.13
8.0.90.0040.00417.02
8.0.80.0050.01317.04
8.0.70.0040.00417.13
8.0.60.0040.00417.11
8.0.50.0000.00817.04
8.0.30.0090.00917.15
8.0.20.0100.00917.40
8.0.10.0000.00717.20
8.0.00.0080.01016.88
7.4.330.0020.00216.77
7.4.320.0030.00516.57
7.4.300.0030.00316.68
7.4.290.0000.00816.68
7.4.280.0060.00316.72
7.4.270.0030.00716.78
7.4.260.0060.00316.63
7.4.250.0000.00716.59
7.4.240.0040.00316.71
7.4.230.0070.00016.72
7.4.220.0070.01116.77
7.4.210.0080.00716.65
7.4.200.0050.00316.59
7.4.160.0040.01116.57
7.4.150.0150.00917.40
7.4.140.0100.00817.86
7.4.130.0110.00916.78
7.4.120.0130.00616.77
7.4.110.0110.00616.61
7.4.100.0120.00616.80
7.4.90.0070.01016.57
7.4.80.0110.00919.39
7.4.70.0030.01316.58
7.4.60.0120.00916.76
7.4.50.0000.01516.54
7.4.40.0120.00916.73
7.4.30.0170.00316.79
7.4.00.0090.00715.04
7.3.330.0000.00613.34
7.3.320.0040.00213.33
7.3.310.0040.00416.59
7.3.300.0070.00016.63
7.3.290.0070.00016.42
7.3.280.0060.01316.48
7.3.270.0100.01017.40
7.3.260.0120.00616.45
7.3.250.0060.01316.59
7.3.240.0130.00616.57
7.3.230.0090.00916.60
7.3.210.0030.01316.41
7.3.200.0080.01419.39
7.3.190.0100.01316.43
7.3.180.0120.00316.42
7.3.170.0140.00916.61
7.3.160.0060.01216.55
7.3.120.0060.01214.98
7.3.110.0070.01114.97
7.3.100.0040.01415.00
7.3.90.0030.00714.94
7.3.80.0080.00414.76
7.3.70.0030.00614.81
7.3.60.0000.00915.13
7.3.50.0070.00315.07
7.3.40.0070.00314.88
7.3.30.0060.00314.93
7.3.20.0070.00716.80
7.3.10.0060.00616.77
7.3.00.0030.01116.80
7.2.330.0060.01216.84
7.2.320.0100.01016.73
7.2.310.0070.01016.84
7.2.300.0060.01016.61
7.2.290.0030.02016.72
7.2.250.0070.01114.85
7.2.240.0090.00915.39
7.2.230.0100.01015.20
7.2.220.0090.00015.30
7.2.210.0060.01014.84
7.2.200.0060.00615.28
7.2.190.0040.01114.94
7.2.180.0030.00914.84
7.2.170.0040.00815.23
7.2.60.0030.01316.60
7.2.00.0060.00819.18
7.1.330.0070.00715.78
7.1.320.0030.00815.99
7.1.310.0000.00915.99
7.1.300.0000.01415.88
7.1.290.0060.00915.53
7.1.280.0000.01515.71
7.1.270.0070.00315.88
7.1.260.0100.00315.80
7.1.200.0190.00715.52
7.1.100.0030.00718.02
7.1.70.0040.00416.88
7.1.60.0070.00719.27
7.1.50.0070.01117.05
7.1.00.0030.07022.42
7.0.200.0060.00316.92
7.0.60.0030.06321.75
7.0.50.0070.05017.83
7.0.40.0100.04020.32
7.0.30.0170.04020.18
7.0.20.0200.06320.09
7.0.10.0100.05320.18
7.0.00.0070.03720.04
5.6.280.0000.04320.86
5.6.210.0100.07720.54
5.6.200.0070.04018.29
5.6.190.0070.08320.75
5.6.180.0230.05020.45
5.6.170.0230.05320.56
5.6.160.0100.08020.50
5.6.150.0070.08718.19
5.6.140.0130.06718.23
5.6.130.0100.08318.23
5.6.120.0030.04021.01
5.6.110.0030.07321.07
5.6.100.0000.05020.95
5.6.90.0130.05720.99
5.6.80.0070.08020.40
5.5.350.0100.07720.46
5.5.340.0130.06317.98
5.5.330.0000.08320.25
5.5.320.0630.06020.38
5.5.310.0230.08320.24
5.5.300.0070.08718.10
5.5.290.0130.08017.97
5.5.280.0000.04720.64
5.5.270.0130.08720.79
5.5.260.0100.04320.67
5.5.250.0030.04320.68
5.5.240.0130.07320.12

preferences:
59.28 ms | 401 KiB | 5 Q