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);

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.10.0030.00619.64
8.3.140.0070.01116.79
8.3.130.0040.00416.66
8.3.120.0090.00020.61
8.3.110.0080.00816.50
8.3.100.0060.00316.62
8.3.90.0040.00418.48
8.3.80.0070.00317.97
8.3.70.0080.00816.62
8.3.60.0120.00618.53
8.3.50.0130.00617.30
8.3.40.0190.00318.79
8.3.30.0150.00318.75
8.3.20.0040.00420.34
8.3.10.0030.00522.01
8.3.00.0030.00623.71
8.2.250.0040.00416.57
8.2.240.0120.00317.04
8.2.230.0040.00420.94
8.2.220.0060.00924.06
8.2.210.0150.00426.77
8.2.200.0070.00318.54
8.2.190.0190.00016.58
8.2.180.0100.01018.43
8.2.170.0070.01122.96
8.2.160.0070.00721.96
8.2.150.0040.00424.18
8.2.140.0070.00724.66
8.2.130.0040.00426.16
8.2.120.0040.00419.89
8.2.110.0070.00319.39
8.2.100.0090.00319.28
8.2.90.0080.00018.03
8.2.80.0050.00317.97
8.2.70.0050.00317.80
8.2.60.0030.00618.22
8.2.50.0070.00418.10
8.2.40.0000.00720.31
8.2.30.0040.00419.21
8.2.20.0050.00218.05
8.2.10.0000.00718.00
8.2.00.0050.00218.07
8.1.300.0040.00416.36
8.1.290.0030.00718.88
8.1.280.0030.01725.92
8.1.270.0160.00320.71
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0080.00022.64
8.1.230.0110.00018.97
8.1.220.0030.00617.79
8.1.210.0080.00019.01
8.1.200.0000.00817.35
8.1.190.0040.00417.23
8.1.180.0030.00518.10
8.1.170.0000.00818.49
8.1.160.0070.00018.88
8.1.150.0000.00720.08
8.1.140.0050.00319.58
8.1.130.0000.00819.08
8.1.120.0080.00017.66
8.1.110.0000.00717.59
8.1.100.0040.00417.57
8.1.90.0040.00417.63
8.1.80.0000.00717.61
8.1.70.0090.00017.52
8.1.60.0030.00517.57
8.1.50.0080.00017.50
8.1.40.0030.00617.58
8.1.30.0030.00517.68
8.1.20.0080.00017.65
8.1.10.0050.00217.69
8.1.00.0040.00417.56
8.0.300.0000.00721.63
8.0.290.0060.00316.75
8.0.280.0000.00718.45
8.0.270.0030.00317.24
8.0.260.0000.00718.42
8.0.250.0040.00417.05
8.0.240.0000.00716.93
8.0.230.0040.00417.02
8.0.220.0030.00317.01
8.0.210.0030.00517.03
8.0.200.0030.00317.05
8.0.190.0000.00717.04
8.0.180.0070.00017.00
8.0.170.0020.00517.05
8.0.160.0050.00316.98
8.0.150.0050.00316.97
8.0.140.0040.00416.91
8.0.130.0030.00313.48
8.0.120.0050.00316.90
8.0.110.0040.00417.04
8.0.100.0070.00016.81
8.0.90.0030.00517.08
8.0.80.0040.01216.98
8.0.70.0040.00417.08
8.0.60.0000.00716.90
8.0.50.0070.00016.88
8.0.30.0080.01117.14
8.0.20.0110.00817.40
8.0.10.0030.00517.02
8.0.00.0100.00916.76
7.4.330.0020.00215.55
7.4.320.0030.00316.50
7.4.300.0060.00016.57
7.4.290.0030.00316.56
7.4.280.0040.00416.59
7.4.270.0040.00416.64
7.4.260.0110.00516.50
7.4.250.0050.00316.62
7.4.240.0000.00716.71
7.4.230.0070.00016.67
7.4.220.0120.00916.48
7.4.210.0000.01516.73
7.4.200.0030.00316.52
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.330.0000.00513.15
7.3.320.0000.00513.05
7.3.310.0000.00716.16
7.3.300.0000.00716.31
7.3.290.0080.00816.33
7.3.280.0090.00716.34
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

preferences:
67.84 ms | 403 KiB | 5 Q