3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new IntlDateFormatter( 'en_US', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'Europe/London', IntlDateFormatter::GREGORIAN, "Y" ); echo $formatter->format( new DateTime('2017-12-31 12:00:00', new DateTimeZone('Europe/London')) );

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.60.0040.01221.68
8.3.50.0040.01219.95
8.3.40.0080.00821.26
8.3.30.0130.00320.89
8.3.20.0060.00322.47
8.3.10.0060.01324.31
8.3.00.0090.00022.68
8.2.180.0030.02021.66
8.2.170.0080.00822.96
8.2.160.0100.01321.71
8.2.150.0030.00524.18
8.2.140.0060.00324.66
8.2.130.0030.00624.13
8.2.120.0050.00326.35
8.2.110.0040.00824.24
8.2.100.0070.00720.84
8.2.90.0060.00321.28
8.2.80.0080.00821.09
8.2.70.0140.00320.88
8.2.60.0030.00620.75
8.2.50.0060.00622.31
8.2.40.0030.00624.52
8.2.30.0050.00621.59
8.2.20.0030.00621.03
8.2.10.0040.00421.12
8.2.00.0040.00421.10
8.1.280.0040.01225.92
8.1.270.0090.00024.30
8.1.260.0030.00526.35
8.1.250.0030.00528.09
8.1.240.0070.00326.22
8.1.230.0200.00823.78
8.1.220.0040.00420.78
8.1.210.0060.00321.75
8.1.200.0000.00920.38
8.1.190.0040.00420.35
8.1.180.0000.00920.48
8.1.170.0060.00321.70
8.1.160.0030.00521.10
8.1.150.0040.00421.14
8.1.140.0030.00622.48
8.1.130.0040.00422.87
8.1.120.0000.00820.61
8.1.110.0060.00320.76
8.1.100.0040.00720.75
8.1.90.0040.00420.42
8.1.80.0080.00020.71
8.1.70.0040.00420.47
8.1.60.0080.00320.70
8.1.50.0060.00320.74
8.1.40.0000.00820.70
8.1.30.0000.00820.93
8.1.20.0040.00420.94
8.1.10.0090.00020.61
8.1.00.0030.00620.58
8.0.300.0080.00022.23
8.0.290.0030.00620.00
8.0.280.0020.00520.71
8.0.270.0000.00820.34
8.0.260.0040.00421.85
8.0.250.0000.00720.45
8.0.240.0000.00820.30
8.0.230.0040.00420.21
8.0.220.0070.00020.29
8.0.210.0000.00720.07
8.0.200.0070.00020.16
8.0.190.0000.00820.22
8.0.180.0070.00620.07
8.0.170.0040.00420.25
8.0.160.0000.00819.96
8.0.150.0030.00619.88
8.0.140.0080.00020.26
8.0.130.0030.00313.27
8.0.120.0030.00620.05
8.0.110.0040.00419.98
8.0.100.0040.00419.84
8.0.90.0090.00020.27
8.0.80.0060.00920.31
8.0.70.0060.00319.78
8.0.60.0080.00020.13
8.0.50.0000.00920.36
8.0.30.0130.01320.17
8.0.20.0110.00920.34
8.0.10.0040.00420.15
8.0.00.0090.01219.96
7.4.330.0020.00215.55
7.4.320.0000.00719.67
7.4.300.0070.00019.98
7.4.290.0080.00019.95
7.4.280.0060.00319.82
7.4.270.0040.00420.01
7.4.260.0040.00419.91
7.4.250.0060.00319.80
7.4.240.0040.00419.92
7.4.230.0080.00020.05
7.4.220.0200.01419.99
7.4.210.0090.00819.90
7.4.200.0030.00520.07
7.4.160.0030.01519.98
7.4.150.0120.00919.67
7.4.140.0140.00719.79
7.4.130.0100.01020.03
7.4.120.0090.01319.79
7.4.110.0090.00919.68
7.4.100.0110.01119.86
7.4.90.0060.01219.61
7.4.80.0080.01119.86
7.4.70.0170.00719.93
7.4.60.0100.01019.77
7.4.50.0040.01119.91
7.4.40.0090.00919.82
7.4.30.0040.01419.96
7.4.00.0130.01118.23
7.3.330.0000.00612.99
7.3.320.0020.00213.00
7.3.310.0030.00519.55
7.3.300.0000.00819.53
7.3.290.0100.01119.18
7.3.280.0070.01119.41
7.3.270.0070.01419.65
7.3.260.0070.01119.70
7.3.250.0120.01219.68
7.3.240.0100.00819.54
7.3.230.0090.01019.62
7.3.210.0030.01419.29
7.3.200.0030.01619.84
7.3.190.0150.00919.53
7.3.180.0130.00719.66
7.3.170.0030.01519.80
7.3.160.0130.01019.62
7.3.120.0180.01217.95
7.3.110.0150.01517.78
7.3.100.0120.00017.63
7.3.90.0040.01517.35
7.3.80.0110.00417.87
7.3.70.0070.01117.71
7.3.60.0030.01317.71
7.3.50.0040.01118.01
7.3.40.0040.00717.71
7.3.30.0080.00317.95
7.3.20.0060.00919.62
7.3.10.0020.01019.66
7.3.00.0030.01019.67
7.2.330.0100.01220.02
7.2.320.0070.01420.06
7.2.310.0150.00919.65
7.2.300.0130.00619.55
7.2.290.0110.00819.95
7.2.250.0170.01418.23
7.2.240.0170.01417.93
7.2.230.0060.01318.14
7.2.220.0030.01618.08
7.2.210.0040.01518.13
7.2.200.0060.00618.07
7.2.190.0070.01118.03
7.2.180.0070.00418.36
7.2.170.0070.00718.21
7.2.130.0110.00720.21
7.2.120.0030.00720.18
7.2.110.0090.00319.95
7.2.100.0030.00919.93
7.2.90.0030.01020.00
7.2.80.0030.00920.23
7.2.70.0090.00620.15
7.2.60.0030.00920.01
7.2.50.0000.01620.19
7.2.40.0000.01420.05
7.2.30.0110.00420.26
7.2.20.0070.00720.27
7.2.10.0040.00819.93
7.2.00.0030.00620.12
7.1.330.0000.01618.93
7.1.320.0080.00818.89
7.1.310.0040.01119.17
7.1.300.0090.00619.01
7.1.290.0070.01019.08
7.1.280.0000.01318.79
7.1.270.0060.00618.82
7.1.260.0060.00618.75
7.1.250.0030.01018.95
7.1.200.0080.00318.86
7.1.80.0030.01321.51
7.1.70.0030.01220.63
7.1.60.0320.01037.69
7.1.50.0150.01537.79
7.1.40.0260.01337.23
7.1.30.0290.01037.25
7.1.20.2370.00737.49
7.1.10.0070.01019.80
7.1.00.2090.00720.04
7.0.200.2150.00718.53
7.0.190.0000.01520.27
7.0.180.0060.00919.63
7.0.170.0060.01319.38
7.0.160.2490.00717.74
7.0.150.2180.01317.66
7.0.140.2200.01017.67
7.0.130.2210.00718.12
7.0.120.2180.00720.09
7.0.110.0120.00319.84
7.0.100.0130.00319.84
7.0.90.0090.00919.45
7.0.80.0070.01219.26
7.0.70.0030.01219.67
7.0.60.0030.01219.45
7.0.50.0000.01919.51
7.0.40.0050.01219.85
7.0.30.0030.01219.51
7.0.20.0030.01119.46
7.0.10.0100.01019.60
7.0.00.0120.00819.73

preferences:
62.13 ms | 400 KiB | 5 Q