3v4l.org

run code in 300+ PHP versions simultaneously
<?php $language = 'ru'; $pattern = '{0, plural, one{# час} few{# часа} many{# часов(many)} other{# часов(other)}}'; $formatter = new \MessageFormatter($language, $pattern); echo $result = $formatter->format([2]);

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.40.0070.01420.20
8.3.30.0120.00320.09
8.3.20.0050.00321.67
8.3.10.0060.00325.11
8.3.00.0050.00319.77
8.2.170.0090.00622.96
8.2.160.0150.00620.88
8.2.150.0050.00324.18
8.2.140.0030.00524.66
8.2.130.0100.00726.16
8.2.120.0100.00719.38
8.2.110.0100.00023.70
8.2.100.0120.00019.63
8.2.90.0000.00820.59
8.2.80.0000.00919.25
8.2.70.0030.00619.38
8.2.60.0100.00619.91
8.2.50.0040.00419.50
8.2.40.0080.00323.18
8.2.30.0030.00622.16
8.2.20.0090.00219.67
8.2.10.0050.00519.98
8.2.00.0080.00519.86
8.1.270.0040.00425.45
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0090.00024.08
8.1.230.0070.00719.48
8.1.220.0050.00319.76
8.1.210.0040.00419.23
8.1.200.0070.00319.23
8.1.190.0060.00319.10
8.1.180.0080.00019.48
8.1.170.0110.00422.25
8.1.160.0030.00523.42
8.1.150.0030.00620.18
8.1.140.0090.00321.39
8.1.130.0000.00921.11
8.1.120.0080.00419.47
8.1.110.0030.00619.32
8.1.100.0040.00419.37
8.1.90.0050.00319.57
8.1.80.0100.00219.36
8.1.70.0040.00819.24
8.1.60.0030.00619.69
8.1.50.0100.00719.60
8.1.40.0090.00919.62
8.1.30.0150.00419.62
8.1.20.0160.00419.54
8.1.10.0080.00019.75
8.1.00.0080.00519.55
8.0.300.0080.00818.79
8.0.290.0100.00218.38
8.0.280.0060.00219.83
8.0.270.0060.00619.05
8.0.260.0080.00018.87
8.0.250.0030.00618.97
8.0.240.0000.00719.05
8.0.230.0100.00318.77
8.0.220.0030.00818.97
8.0.210.0060.00618.81
8.0.200.0000.00818.80
8.0.190.0110.00318.89
8.0.180.0120.00018.71
8.0.170.0040.00418.87
8.0.160.0120.00418.73
8.0.150.0000.00818.61
8.0.140.0090.00318.82
8.0.130.0000.00813.25
8.0.120.0030.00718.89
8.0.110.0030.00618.88
8.0.100.0080.00018.81
8.0.90.0000.00818.87
8.0.80.0060.01418.88
8.0.70.0030.00518.85
8.0.60.0000.00718.82
8.0.50.0000.00818.81
8.0.30.0160.00519.33
8.0.20.0110.00919.04
8.0.10.0000.00819.13
8.0.00.0120.00918.82
7.4.330.0000.00515.08
7.4.320.0030.00318.51
7.4.300.0090.00018.56
7.4.290.0120.00218.54
7.4.280.0090.00918.67
7.4.270.0000.00918.54
7.4.260.0060.00318.67
7.4.250.0050.00318.67
7.4.240.0020.00618.72
7.4.230.0050.00218.64
7.4.220.0180.01118.57
7.4.210.0090.00918.72
7.4.200.0040.00418.41
7.4.160.0140.01018.41
7.4.150.0140.00518.63
7.4.140.0150.00818.46
7.4.130.0170.00718.52
7.4.120.0140.00918.43
7.4.110.0070.01818.52
7.4.100.0160.01618.71
7.4.90.0110.01518.64
7.4.80.0120.01519.39
7.4.70.0110.01118.55
7.4.60.0080.01218.21
7.4.50.0050.00518.55
7.4.40.0040.01618.37
7.4.30.0100.01318.33
7.4.00.0060.01117.29
7.3.330.0050.00013.01
7.3.320.0050.00013.09
7.3.310.0000.00818.15
7.3.300.0040.00418.24
7.3.290.0050.01418.22
7.3.280.0110.01318.27
7.3.270.0120.01518.48
7.3.260.0150.00418.16
7.3.250.0080.00918.34
7.3.240.0170.00418.34
7.3.230.0000.01718.45
7.3.210.0130.00418.43
7.3.200.0090.00918.26
7.3.190.0120.00618.59
7.3.180.0120.00618.17
7.3.170.0120.01218.62
7.3.160.0110.00618.74
7.3.10.0150.00018.46
7.3.00.0040.00718.36
7.2.330.0090.00918.86
7.2.320.0100.01018.73
7.2.310.0070.01718.79
7.2.300.0000.01818.55
7.2.290.0100.01018.76
7.2.130.0000.01318.94
7.2.120.0000.00918.92
7.2.110.0000.01518.85
7.2.100.0100.00718.93
7.2.90.0080.00318.98
7.2.80.0060.00619.01
7.2.70.0040.00819.04
7.2.60.0080.00918.95
7.2.50.0090.01019.07
7.2.40.0180.00918.74
7.2.30.0100.01018.71
7.2.20.0030.01319.01
7.2.10.0060.00918.97
7.2.00.0050.00920.32
7.1.250.0030.01317.89
7.1.200.0120.00017.59
7.1.100.0080.01220.05
7.1.70.0090.01419.35
7.1.60.0180.01219.53
7.1.50.0120.01219.02
7.1.00.0030.07724.60
7.0.200.0140.00717.03
7.0.60.0130.07722.07
7.0.50.0170.07317.80
7.0.40.0100.08322.43
7.0.30.0230.03722.20
7.0.20.0230.08021.97
7.0.10.0130.06722.08
7.0.00.0170.03022.17
5.6.280.0030.03322.83
5.6.210.0070.05322.79
5.6.200.0130.03318.21
5.6.190.0030.06722.43
5.6.180.0270.08322.43
5.6.170.0230.04722.47
5.6.160.0000.09722.37
5.6.150.0000.08718.17
5.6.140.0070.07718.17
5.6.130.0070.08018.11
5.6.120.0070.07723.23
5.6.110.0230.07323.17
5.6.100.0070.06023.14
5.6.90.0100.04022.98
5.6.80.0100.06722.53
5.5.350.3400.04322.46
5.5.340.0070.04017.99
5.5.330.0030.08022.25
5.5.320.0200.05722.27
5.5.310.0330.05022.14
5.5.300.0070.06718.02
5.5.290.0030.08017.92
5.5.280.0030.04323.11
5.5.270.0030.04322.84
5.5.260.0100.08322.91
5.5.250.0100.08722.76
5.5.240.0400.05322.43
5.4.450.0170.03721.16
5.4.440.0430.04320.95
5.4.430.0170.08021.15
5.4.420.0230.04020.95
5.4.410.0200.05721.12
5.4.400.0230.06320.63
5.4.390.0130.07320.83
5.4.380.0170.06320.93
5.4.370.0300.05320.93
5.4.360.0200.08020.94
5.4.350.0300.07320.91
5.4.340.0130.07021.04
5.4.320.0200.04020.92
5.4.310.0300.06020.94
5.4.300.0130.04020.91
5.4.290.0200.06020.92
5.4.280.0230.05720.64
5.4.270.0230.05020.64
5.4.260.0230.06020.94
5.4.250.0230.07720.92
5.4.240.0230.04020.63
5.4.230.0070.05020.73
5.4.220.0230.03321.03
5.4.210.0270.04020.93
5.4.200.0270.03020.82
5.4.190.0330.05721.00
5.4.180.0300.06720.91
5.4.170.0270.06320.84
5.4.160.0230.04320.89
5.4.150.0300.07020.50
5.4.140.0200.07018.30
5.4.130.0330.06018.17
5.4.120.0230.04718.08
5.4.110.0230.06718.33
5.4.100.0270.06318.26
5.4.90.0270.06317.97

preferences:
42.25 ms | 400 KiB | 5 Q