3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = new DateTimeImmutable('2016-10-29T00:00:00UTC+00:00'); $londonTimeZone = new DateTimeZone('Europe/London'); $londonTime = $time->setTimezone($londonTimeZone); $notLondonTime = new DateTimeImmutable('2016-10-29T00:00:00+00:00', new DateTimeZone('Europe/London')); var_dump($londonTime, $notLondonTime);
based on HunQM

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.0.30.0080.01117.14
8.0.20.0110.00817.40
8.0.00.0100.00916.76
7.4.160.0070.01016.56
7.4.150.0130.00617.40
7.4.140.0130.00617.86
7.4.130.0100.01016.59
7.4.120.0080.00916.61
7.4.110.0110.00716.64
7.4.100.0030.01416.59
7.4.90.0110.00916.51
7.4.80.0140.00319.39
7.4.70.0060.01616.57
7.4.60.0120.00616.64
7.4.50.0100.00316.45
7.4.40.0130.01016.67
7.4.30.0040.01216.66
7.4.10.0090.00915.27
7.4.00.0120.00414.98
7.3.270.0090.00917.40
7.3.260.0120.00616.54
7.3.250.0120.00716.39
7.3.240.0110.00816.47
7.3.230.0100.00716.52
7.3.210.0100.00716.45
7.3.200.0080.00816.43
7.3.190.0120.00616.36
7.3.180.0030.01616.72
7.3.170.0060.01216.50
7.3.160.0080.00816.41
7.3.130.0070.01314.77
7.3.120.0070.01314.63
7.3.110.0150.00414.81
7.3.100.0100.00714.89
7.3.90.0100.01014.86
7.3.80.0040.01414.78
7.3.70.0000.01414.63
7.3.60.0090.00614.57
7.3.50.0060.00614.93
7.3.40.0030.01314.75
7.3.30.0120.00614.79
7.3.20.0030.01216.86
7.3.10.0050.00516.80
7.3.00.0040.00916.51
7.2.330.0070.01116.62
7.2.320.0040.01316.77
7.2.310.0120.00916.68
7.2.300.0160.00616.83
7.2.290.0100.01016.65
7.2.260.0150.00415.15
7.2.250.0030.01715.36
7.2.240.0100.00314.90
7.2.230.0060.00914.78
7.2.220.0090.01215.04
7.2.210.0040.01515.11
7.2.200.0070.00715.20
7.2.190.0060.01014.71
7.2.180.0090.00915.09
7.2.170.0090.00615.22
7.2.160.0040.01115.23
7.2.150.0030.01316.86
7.2.140.0030.00817.01
7.2.130.0050.01216.97
7.2.120.0090.00616.72
7.2.110.0040.01016.96
7.2.100.0060.00616.93
7.2.90.0030.00716.86
7.2.80.0050.00617.02
7.2.70.0020.01216.99
7.2.60.0010.01316.86
7.2.50.0070.00716.86
7.2.40.0040.01116.99
7.2.30.0070.00617.05
7.2.20.0050.00917.06
7.2.10.0030.00717.03
7.2.00.0060.00916.96
7.1.330.0080.00815.74
7.1.320.0030.01015.74
7.1.310.0100.00715.58
7.1.300.0070.01116.02
7.1.290.0030.00915.66
7.1.280.0090.00915.74
7.1.270.0130.00315.67
7.1.260.0000.01116.00
7.1.250.0070.00715.63
7.1.240.0040.01415.84
7.1.230.0060.00615.94
7.1.220.0060.00916.05
7.1.210.0060.00615.98
7.1.200.0100.00515.89
7.1.190.0140.00015.93
7.1.180.0080.00815.82
7.1.170.0000.01015.98
7.1.160.0030.01015.98
7.1.150.0110.00415.79
7.1.140.0070.01115.97
7.1.130.0030.01016.02
7.1.120.0120.00615.71
7.1.110.0110.00015.90
7.1.100.0810.00815.87
7.1.90.0690.00716.30
7.1.80.0740.00916.08
7.1.70.0830.01015.83
7.1.60.0720.00924.52
7.1.50.0810.00824.54
7.1.40.0780.00624.40
7.1.30.0730.01224.23
7.1.20.0770.01224.37
7.1.10.0780.00515.20
7.1.00.0600.01215.54
7.0.330.0120.00315.43
7.0.320.0000.01215.50
7.0.310.0100.00315.59
7.0.300.0130.00015.46
7.0.290.0000.01315.52
7.0.280.0030.00615.50
7.0.270.0060.00315.32
7.0.260.0100.00315.31
7.0.250.0040.01115.64
7.0.240.0890.01415.59
7.0.230.0490.00915.80
7.0.220.0770.01215.96
7.0.210.0650.00915.26
7.0.200.0710.01015.04
7.0.190.0720.00815.19
7.0.180.0770.00615.07
7.0.170.0710.00615.13
7.0.160.0870.01315.09
7.0.150.0760.00515.07
7.0.140.0790.00615.16
7.0.130.0640.00815.15
7.0.120.0780.00815.15
7.0.110.0860.01115.05
7.0.100.0840.00615.06
7.0.90.0090.00815.09
7.0.80.0230.00914.97
7.0.70.0780.00515.11
7.0.60.0910.00615.04
7.0.50.1030.01215.05
7.0.40.0280.00914.18
7.0.30.0970.01014.24
7.0.20.0120.00914.13
7.0.10.0110.00714.33
7.0.00.0350.01114.14
5.6.400.0100.00314.25
5.6.390.0090.00614.92
5.6.380.0120.00314.38
5.6.370.0060.00614.55
5.6.360.0040.00814.53
5.6.350.0100.00714.49
5.6.340.0060.00914.84
5.6.330.0090.00614.54
5.6.320.0060.00914.37
5.6.310.0100.00614.29
5.6.300.0000.01014.11
5.6.290.0060.00614.50
5.6.280.0100.01014.63
5.6.270.0040.01514.29
5.6.260.0040.00714.49
5.6.250.0030.01014.45
5.6.240.0100.00314.26
5.6.230.0060.00914.33
5.6.220.0030.01014.76
5.6.210.0060.00314.56
5.6.200.0030.00714.67
5.6.190.0040.00714.17
5.6.180.0030.01014.69
5.6.170.0120.00314.52
5.6.160.0080.00814.27
5.6.150.0070.00714.44
5.6.140.0150.00014.25
5.6.130.0070.00714.39
5.6.120.0040.00414.58
5.6.110.0000.01514.53
5.6.100.0030.01014.25
5.6.90.0070.00714.36
5.6.80.0030.00914.43
5.6.70.0070.00714.26
5.6.60.0000.01414.28
5.6.50.0030.01314.15
5.6.40.0100.00714.12
5.6.30.0000.01314.29
5.6.20.0060.00914.29
5.6.10.0030.00714.36
5.6.00.0060.00914.16