3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new IntlDateFormatter(Locale::getDefault(), IntlDateFormatter::MEDIUM, IntlDateFormatter::NONE); echo $formatter->format($time)."\n"; Locale::setDefault('en_GB'); $formatter = new IntlDateFormatter(Locale::getDefault(), IntlDateFormatter::MEDIUM, IntlDateFormatter::NONE); echo $formatter->format($time)."\n"; Locale::setDefault('no_NO'); $formatter = new IntlDateFormatter(Locale::getDefault(), IntlDateFormatter::MEDIUM, IntlDateFormatter::NONE); echo $formatter->format($time)."\n";

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.0160.00919.96
8.3.50.0140.00321.39
8.3.40.0130.00321.34
8.3.30.0070.01021.46
8.3.20.0030.00622.79
8.3.10.0000.00926.14
8.3.00.0090.00022.76
8.2.180.0150.00920.50
8.2.170.0100.01322.96
8.2.160.0100.01324.64
8.2.150.0040.00824.18
8.2.140.0040.00424.81
8.2.130.0030.00626.16
8.2.120.0000.00921.13
8.2.110.0070.00424.61
8.2.100.0070.00721.05
8.2.90.0030.00621.80
8.2.80.0030.00621.00
8.2.70.0000.01020.98
8.2.60.0080.00821.17
8.2.50.0080.00820.63
8.2.40.0030.00622.63
8.2.30.0030.00523.20
8.2.20.0040.00420.96
8.2.10.0040.00821.21
8.2.00.0040.00421.21
8.1.280.0100.01025.92
8.1.270.0100.00026.51
8.1.260.0090.00026.35
8.1.250.0120.00428.09
8.1.240.0070.00724.20
8.1.230.0060.00621.08
8.1.220.0060.00321.15
8.1.210.0200.00320.48
8.1.200.0100.00020.63
8.1.190.0060.00320.50
8.1.180.0030.00620.91
8.1.170.0030.00721.87
8.1.160.0000.00924.42
8.1.150.0030.00521.39
8.1.140.0030.00623.02
8.1.130.0050.00321.00
8.1.120.0040.00420.98
8.1.110.0060.00320.78
8.1.100.0000.01020.97
8.1.90.0060.00320.88
8.1.80.0030.00620.93
8.1.70.0050.00320.99
8.1.60.0040.00421.04
8.1.50.0060.00321.01
8.1.40.0100.00020.84
8.1.30.0100.00021.30
8.1.20.0040.00420.96
8.1.10.0030.00621.04
8.1.00.0030.00620.98
8.0.300.0030.00620.25
8.0.290.0060.00320.13
8.0.280.0040.00421.10
8.0.270.0030.00520.64
8.0.260.0030.00620.67
8.0.250.0090.00020.33
8.0.240.0000.00920.19
8.0.230.0000.00820.44
8.0.220.0050.00320.36
8.0.210.0000.00820.16
8.0.200.0020.00520.20
8.0.190.0060.00320.25
8.0.180.0040.00420.32
8.0.170.0160.00620.33
8.0.160.0060.00320.23
8.0.150.0030.00620.00
8.0.140.0030.00620.23
8.0.130.0000.00713.36
8.0.120.0000.00920.30
8.0.110.0060.00320.58
8.0.100.0040.00420.34
8.0.90.0030.00620.52
8.0.80.0040.01420.52
8.0.70.0060.00320.51
8.0.60.0060.00319.99
8.0.50.0000.00920.52
8.0.30.0120.00720.54
8.0.20.0140.01120.33
8.0.10.0070.00320.15
8.0.00.0140.00720.36
7.4.330.0030.00315.08
7.4.320.0030.00720.02
7.4.300.0070.00019.93
7.4.290.0050.00319.97
7.4.280.0030.00620.17
7.4.270.0000.00919.88
7.4.260.0050.00319.64
7.4.250.0040.00420.04
7.4.240.0050.00320.04
7.4.230.0040.00420.16
7.4.220.0090.01220.11
7.4.210.0100.01020.06
7.4.200.0080.00020.22
7.4.160.0130.00419.77
7.4.150.0080.01119.84
7.4.140.0080.01319.91
7.4.130.0090.01520.02
7.4.120.0070.01220.01
7.4.110.0130.00720.05
7.4.100.0130.00720.00
7.4.90.0150.00619.90
7.4.80.0110.00719.93
7.4.70.0100.01020.09
7.4.60.0080.01119.97
7.4.50.0000.01020.05
7.4.40.0230.00720.06
7.4.30.0100.01020.19
7.4.00.0120.00618.55
7.3.330.0030.00413.02
7.3.320.0050.00013.13
7.3.310.0080.00019.91
7.3.300.0030.00519.48
7.3.290.0000.00819.88
7.3.280.0130.01219.73
7.3.270.0090.01220.16
7.3.260.0110.00720.11
7.3.240.0080.01119.81
7.3.230.0200.00720.00
7.3.210.0190.00420.02
7.3.200.0030.01819.97
7.3.190.0100.01020.11
7.3.180.0080.01119.57
7.3.170.0140.01219.83
7.3.160.0130.00619.48
7.3.10.0000.01419.45
7.3.00.0100.00719.69
7.2.330.0070.01320.29
7.2.320.0060.01319.84
7.2.310.0130.01019.96
7.2.300.0030.01719.93
7.2.290.0080.01920.16
7.2.130.0070.01019.83
7.2.120.0070.01019.95
7.2.110.0000.01419.68
7.2.100.0060.00920.01
7.2.90.0100.00620.05
7.2.80.0000.01519.70
7.2.70.0000.01020.04
7.2.60.0050.01020.10
7.2.50.0030.01019.94
7.2.40.0100.00719.90
7.2.30.0180.00419.93
7.2.20.0030.01520.14
7.2.10.0000.01520.23
7.2.00.0070.01221.49
7.1.250.0070.01418.99
7.1.200.0030.01019.17
7.1.100.0090.01221.75
7.1.70.0050.00320.68
7.1.60.0000.02320.79
7.1.50.0040.01320.56
7.1.00.0100.07326.13
7.0.200.0170.00318.87
7.0.60.0330.04323.34
7.0.50.0070.08317.70
7.0.40.0070.07023.09
7.0.30.0430.07023.26
7.0.20.0270.08023.19
7.0.10.0100.07023.07
7.0.00.0070.05323.18
5.6.280.0070.03024.08
5.6.210.0170.07723.98
5.6.200.0170.06718.08
5.6.190.0070.08723.64
5.6.180.0430.07723.54
5.6.170.0370.07323.53
5.6.160.0100.07023.52
5.6.150.0000.07318.12
5.6.140.0070.07318.11
5.6.130.0070.04018.22
5.6.120.0030.04724.13
5.6.110.0070.06724.41
5.6.100.0170.08024.12
5.6.90.0200.05724.32
5.6.80.0130.07723.77
5.5.350.2630.03723.90
5.5.340.0030.03717.98
5.5.330.0030.07723.25
5.5.320.0470.04723.26
5.5.310.0330.04323.18
5.5.300.0130.07717.98
5.5.290.0000.05317.91
5.5.280.0130.07324.23
5.5.270.0070.05724.35
5.5.260.0030.04324.35
5.5.250.0170.07724.17
5.5.240.0030.06323.35
5.4.450.3700.03022.15
5.4.440.0100.06322.36
5.4.430.1600.06722.39
5.4.420.4170.04022.35
5.4.410.4430.04322.20
5.4.400.4570.03322.02
5.4.390.3630.04021.61
5.4.380.3400.03022.01
5.4.370.3770.04022.02
5.4.360.3730.03721.81
5.4.350.3570.04021.89
5.4.340.3530.04722.05
5.4.320.3930.04021.89
5.4.310.4100.03321.61
5.4.300.4030.03021.89
5.4.290.4400.04021.85
5.4.280.3570.04021.96
5.4.270.4100.03322.01
5.4.260.4100.04721.96
5.4.250.4230.03322.00
5.4.240.4500.04021.94
5.4.230.3900.03321.60
5.4.220.3670.03321.95
5.4.210.3900.04021.92
5.4.200.4570.05021.85
5.4.190.4270.04021.96
5.4.180.4600.05322.00
5.4.170.3800.03321.93
5.4.160.4600.04022.04
5.4.150.4570.03721.87
5.4.140.4700.03019.31
5.4.130.3630.03719.18
5.4.120.0030.05719.02
5.4.110.3070.04319.25
5.4.100.4500.04019.22
5.4.90.4770.04319.17

preferences:
47 ms | 400 KiB | 5 Q