3v4l.org

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

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.0130.01021.43
8.3.50.0090.00619.66
8.3.40.0140.01121.39
8.3.30.0040.01221.18
8.3.20.0030.00522.59
8.3.10.0100.00624.47
8.3.00.0100.00622.81
8.2.180.0070.01621.56
8.2.170.0100.01322.96
8.2.160.0150.00721.70
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0060.00323.01
8.2.110.0110.00022.44
8.2.100.0130.00021.03
8.2.90.0060.00321.22
8.2.80.0080.00820.75
8.2.70.0030.00621.05
8.2.60.0100.00520.93
8.2.50.0060.00321.05
8.2.40.0040.00422.89
8.2.30.0000.01023.29
8.2.20.0000.00821.16
8.2.10.0000.00821.01
8.2.00.0040.00821.10
8.1.280.0040.01225.92
8.1.270.0080.00024.26
8.1.260.0030.00726.35
8.1.250.0070.01028.09
8.1.240.0170.00324.90
8.1.230.0060.00623.87
8.1.220.0040.00420.79
8.1.210.0040.00421.86
8.1.200.0030.00620.47
8.1.190.0060.00320.35
8.1.180.0050.01020.54
8.1.170.0030.00621.58
8.1.160.0000.00821.16
8.1.150.0000.00821.11
8.1.140.0000.00922.60
8.1.130.0040.00422.93
8.1.120.0000.00820.67
8.1.110.0000.00920.71
8.1.100.0000.00820.68
8.1.90.0040.00420.77
8.1.80.0060.00320.71
8.1.70.0040.00420.55
8.1.60.0110.00020.48
8.1.50.0040.00420.76
8.1.40.0060.00320.68
8.1.30.0030.00620.93
8.1.20.0090.00020.58
8.1.10.0040.00420.69
8.1.00.0060.00320.53
8.0.300.0000.00822.15
8.0.290.0000.00819.88
8.0.280.0040.00420.73
8.0.270.0030.00520.35
8.0.260.0040.00421.92
8.0.250.0040.00420.43
8.0.240.0040.00420.51
8.0.230.0040.00420.25
8.0.220.0050.00320.19
8.0.210.0000.00720.13
8.0.200.0070.00020.35
8.0.190.0050.00520.25
8.0.180.0110.00420.13
8.0.170.0040.00420.09
8.0.160.0000.00819.94
8.0.150.0000.00819.97
8.0.140.0030.00620.12
8.0.130.0000.00513.25
8.0.120.0030.00620.10
8.0.110.0030.00620.32
8.0.100.0030.00520.22
8.0.90.0040.00420.34
8.0.80.0030.01919.90
8.0.70.0000.00820.34
8.0.60.0000.00820.34
8.0.50.0060.00320.37
8.0.30.0130.00620.52
8.0.20.0090.01420.29
8.0.10.0000.00820.50
8.0.00.0100.01020.02
7.4.330.0050.00015.55
7.4.320.0050.00320.04
7.4.300.0000.00719.74
7.4.290.0000.00719.89
7.4.280.0060.00319.86
7.4.270.0000.00720.07
7.4.260.0000.00919.84
7.4.250.0040.00419.96
7.4.240.0000.00819.82
7.4.230.0030.00519.87
7.4.220.0140.00719.88
7.4.210.0040.01119.79
7.4.200.0040.00420.13
7.4.160.0060.01219.97
7.4.150.0150.00619.88
7.4.140.0090.01119.91
7.4.130.0030.01619.89
7.4.120.0020.01719.95
7.4.110.0100.01019.61
7.4.100.0100.01319.93
7.4.90.0070.01120.03
7.4.80.0120.00619.94
7.4.70.0060.01319.61
7.4.60.0190.00619.76
7.4.50.0070.01019.98
7.4.40.0100.01319.78
7.4.30.0070.01119.96
7.4.00.0070.01018.47
7.3.330.0060.00013.16
7.3.320.0070.00013.13
7.3.310.0000.00819.46
7.3.300.0040.00419.55
7.3.290.0070.00919.49
7.3.280.0090.01119.44
7.3.270.0030.01619.65
7.3.260.0140.00519.72
7.3.250.0090.01519.65
7.3.240.0070.01119.43
7.3.230.0030.01419.50
7.3.210.0070.01119.41
7.3.200.0030.02219.78
7.3.190.0120.00619.36
7.3.180.0100.00719.79
7.3.170.0140.00619.35
7.3.160.0030.01519.74
7.2.330.0130.00719.61
7.2.320.0070.01320.07
7.2.310.0150.00919.83
7.2.300.0120.00919.67
7.2.290.0190.00319.68
7.2.60.0000.01619.96
7.1.200.0040.01119.13
7.1.80.0090.00921.27
7.1.70.0040.01120.64
7.1.60.0190.01037.96
7.1.50.0300.00837.58
7.1.40.0250.00637.23
7.1.30.0200.02137.35
7.1.20.0230.01737.48
7.1.10.0060.00919.99
7.1.00.0100.00719.63
7.0.200.0060.00820.45
7.0.190.0070.01120.08
7.0.180.0060.01019.32
7.0.170.0080.00819.66
7.0.160.0050.01119.56
7.0.150.0000.01819.72
7.0.140.0060.01219.78
7.0.130.0070.01019.75
7.0.120.0090.00920.04
7.0.110.0030.01219.75
7.0.100.0110.00619.80
7.0.90.0030.01319.41
7.0.80.0000.01819.58
7.0.70.0110.00519.43
7.0.60.0040.01619.43
7.0.50.0060.01319.55
7.0.40.0120.00819.54
7.0.30.0070.01419.53
7.0.20.0070.01319.53
7.0.10.0090.01119.51
7.0.00.0120.00919.47

preferences:
59.34 ms | 400 KiB | 5 Q