3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new IntlDateFormatter( 'en_US', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'Europe/London', IntlDateFormatter::GREGORIAN, "Y-MM-dd" ); echo $formatter->format( new DateTime('2017-01-01 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.4.120.0120.01023.70
8.4.110.0140.01225.73
8.4.100.0160.00821.22
8.4.90.0090.01225.57
8.4.80.0140.00423.03
8.4.70.0110.00921.49
8.4.60.0130.00922.29
8.4.50.0170.00423.72
8.4.40.0030.01723.05
8.4.30.0100.00722.86
8.4.20.0160.00620.91
8.4.10.0130.00722.77
8.3.250.0120.00821.79
8.3.240.0080.00820.20
8.3.230.0140.00720.02
8.3.220.0150.00724.05
8.3.210.0050.01021.66
8.3.200.0040.00619.85
8.3.190.0100.01120.37
8.3.180.0140.00619.63
8.3.170.0100.01020.14
8.3.160.0100.01023.45
8.3.150.0040.01220.78
8.3.140.0050.00520.18
8.3.130.0220.00020.03
8.3.120.0080.01222.15
8.3.110.0110.00421.63
8.3.100.0140.01124.06
8.3.90.0100.01026.77
8.3.80.0070.00321.45
8.3.70.0000.02220.25
8.3.60.0130.01021.68
8.3.50.0110.00619.84
8.3.40.0120.00921.27
8.3.30.0100.00721.22
8.3.20.0030.00522.54
8.3.10.0050.00524.34
8.3.00.0150.00022.68
8.2.290.0150.01123.84
8.2.280.0150.00721.76
8.2.270.0070.01320.33
8.2.260.0150.00420.13
8.2.250.0090.00020.29
8.2.240.0060.00320.79
8.2.230.0030.00622.58
8.2.220.0090.00037.54
8.2.210.0090.00626.77
8.2.200.0080.00419.75
8.2.190.0100.01021.63
8.2.180.0130.00325.92
8.2.170.0000.01522.96
8.2.160.0080.00821.77
8.2.150.0090.00025.66
8.2.140.0080.00024.66
8.2.130.0030.00622.30
8.2.120.0000.00826.35
8.2.110.0070.00322.69
8.2.100.0060.00621.03
8.2.90.0080.00021.60
8.2.80.0050.00521.05
8.2.70.0070.00420.88
8.2.60.0080.00020.93
8.2.50.0000.00921.05
8.2.40.0000.00822.78
8.2.30.0040.00821.68
8.2.20.0030.00521.26
8.2.10.0000.00821.10
8.2.00.0050.00321.21
8.1.330.0120.01125.25
8.1.320.0130.00919.37
8.1.310.0160.00321.84
8.1.300.0060.00321.78
8.1.290.0100.00030.84
8.1.280.0170.00025.92
8.1.270.0000.00922.62
8.1.260.0000.00826.35
8.1.250.0090.00028.09
8.1.240.0100.00025.54
8.1.230.0060.00620.95
8.1.220.0030.00620.55
8.1.210.0030.00620.36
8.1.200.0050.00520.48
8.1.190.0040.00420.35
8.1.180.0030.00520.52
8.1.170.0030.00521.76
8.1.160.0000.00821.16
8.1.150.0040.00421.10
8.1.140.0040.00422.60
8.1.130.0030.00522.87
8.1.120.0000.00920.68
8.1.110.0000.00920.55
8.1.100.0000.00920.61
8.1.90.0070.00320.58
8.1.80.0040.00420.70
8.1.70.0050.00220.51
8.1.60.0040.00420.75
8.1.50.0030.00520.45
8.1.40.0000.00920.60
8.1.30.0000.00920.98
8.1.20.0030.00620.98
8.1.10.0050.00520.70
8.1.00.0100.00020.52
8.0.300.0080.00020.39
8.0.290.0060.00320.00
8.0.280.0050.00320.84
8.0.270.0000.00720.36
8.0.260.0030.00521.91
8.0.250.0000.00720.30
8.0.240.0070.00720.31
8.0.230.0000.00820.15
8.0.220.0040.00420.17
8.0.210.0000.00720.20
8.0.200.0000.00720.27
8.0.190.0090.00020.12
8.0.180.0120.00020.13
8.0.170.0000.00820.19
8.0.160.0000.00920.04
8.0.150.0050.00319.93
8.0.140.0000.00920.09
8.0.130.0000.00513.29
8.0.120.0000.00820.09
8.0.110.0040.00420.23
8.0.100.0000.00820.31
8.0.90.0030.00619.86
8.0.80.0060.01020.32
8.0.70.0080.00019.99
8.0.60.0060.00319.89
8.0.50.0060.00320.25
8.0.30.0100.01120.42
8.0.20.0140.00820.40
8.0.10.0080.00020.44
8.0.00.0060.01320.04
7.4.330.0050.00015.55
7.4.320.0000.00719.90
7.4.300.0040.00419.86
7.4.290.0000.00820.05
7.4.280.0080.00019.83
7.4.270.0030.00619.97
7.4.260.0040.00419.78
7.4.250.0040.00419.93
7.4.240.0040.00419.86
7.4.230.0000.00819.68
7.4.220.0130.00719.92
7.4.210.0030.01220.02
7.4.200.0000.00819.95
7.4.160.0130.00719.87
7.4.150.0040.01720.07
7.4.140.0090.01219.81
7.4.130.0130.00919.95
7.4.120.0140.00819.94
7.4.110.0070.01119.94
7.4.100.0170.00319.90
7.4.90.0130.01019.70
7.4.80.0090.00919.89
7.4.70.0060.01219.93
7.4.60.0030.01420.02
7.4.50.0080.00819.77
7.4.40.0110.00819.60
7.4.30.0060.01219.99
7.4.00.0130.00718.16
7.3.330.0000.00713.09
7.3.320.0030.00313.00
7.3.310.0060.00319.16
7.3.300.0000.00719.49
7.3.290.0140.00519.41
7.3.280.0110.00919.35
7.3.270.0130.00719.65
7.3.260.0150.00619.75
7.3.250.0140.01119.71
7.3.240.0090.00919.67
7.3.230.0090.00919.36
7.3.210.0150.00919.65
7.3.200.0080.01619.80
7.3.190.0110.00719.66
7.3.180.0070.01119.75
7.3.170.0160.00319.55
7.3.160.0090.00919.74
7.3.10.0040.01119.47
7.3.00.0060.01019.49
7.2.330.0160.00319.70
7.2.320.0070.01419.55
7.2.310.0060.01219.85
7.2.300.0030.01519.77
7.2.290.0130.01319.61
7.2.130.0060.01019.92
7.2.120.0030.01319.98
7.2.110.0080.00419.76
7.2.100.0060.00620.16
7.2.90.0100.00720.13
7.2.80.0090.00619.78
7.2.70.0100.00620.23
7.2.60.0060.00819.96
7.2.50.0080.00420.19
7.2.40.0080.00419.95
7.2.30.0040.01120.01
7.2.20.0090.00620.36
7.2.10.0000.01120.24
7.2.00.0100.00720.18
7.1.250.0040.00718.66
7.1.200.0060.00619.07
7.1.80.2900.00921.65
7.1.70.0090.01320.56
7.1.60.0190.01037.68
7.1.50.0190.01637.77
7.1.40.0160.02337.39
7.1.30.0160.01637.33
7.1.20.0190.01037.30
7.1.10.0080.00819.80
7.1.00.0060.00919.79
7.0.200.0090.00920.21
7.0.190.0030.01319.94
7.0.180.0140.00619.38
7.0.170.0060.00919.38
7.0.160.0100.00919.52
7.0.150.0000.01519.68
7.0.140.0040.01119.52
7.0.130.0050.00919.79
7.0.120.0040.01120.00
7.0.110.0070.00719.61
7.0.100.0080.00619.60
7.0.90.0040.01119.41
7.0.80.0070.00719.56
7.0.70.0000.01519.39
7.0.60.0090.00619.44
7.0.50.0060.01019.53
7.0.40.0070.01119.85
7.0.30.0110.00719.55
7.0.20.0140.00319.51
7.0.10.0000.01719.70
7.0.00.0150.00319.70

preferences:
31.71 ms | 403 KiB | 5 Q