3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new NumberFormatter('nb', NumberFormatter::SPELLOUT); $formatter->setTextAttribute(NumberFormatter::DEFAULT_RULESET, "%spellout-cardinal-masculine"); echo $formatter->format(31); ?>

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.70.0090.00620.73
8.3.60.0100.00718.98
8.3.50.0070.01523.24
8.3.40.0120.00420.46
8.3.30.0060.00920.36
8.3.20.0000.00922.04
8.3.10.0060.00325.34
8.3.00.0050.00322.04
8.2.190.0120.00319.50
8.2.180.0100.00720.79
8.2.170.0030.01422.96
8.2.160.0130.00622.53
8.2.150.0060.00324.18
8.2.140.0030.00624.66
8.2.130.0000.01021.77
8.2.120.0030.00626.35
8.2.110.0120.00023.56
8.2.100.0100.00320.09
8.2.90.0030.00721.17
8.2.80.0070.00320.00
8.2.70.0000.00920.00
8.2.60.0090.00020.18
8.2.50.0030.00620.00
8.2.40.0040.00422.65
8.2.30.0030.00622.53
8.2.20.0040.00420.02
8.2.10.0030.00620.36
8.2.00.0040.00420.42
8.1.280.0040.01125.92
8.1.270.0120.00920.82
8.1.260.0030.00628.09
8.1.250.0030.00628.09
8.1.240.0090.00025.04
8.1.230.0060.00620.26
8.1.220.0000.00920.02
8.1.210.0030.00619.37
8.1.200.0060.00319.60
8.1.190.0030.00619.60
8.1.180.0000.00919.90
8.1.170.0030.00620.76
8.1.160.0030.00524.02
8.1.150.0040.00420.57
8.1.140.0000.00921.80
8.1.130.0040.00419.96
8.1.120.0040.00420.00
8.1.110.0060.00319.49
8.1.100.0000.00819.89
8.1.90.0030.00619.50
8.1.80.0080.00019.61
8.1.70.0030.00520.03
8.1.60.0030.00620.10
8.1.50.0070.00319.93
8.1.40.0080.00419.60
8.1.30.0030.00620.25
8.1.20.0040.00420.00
8.1.10.0000.00819.99
8.1.00.0040.00819.75
8.0.300.0040.00419.16
8.0.290.0040.00419.00
8.0.280.0000.00820.30
8.0.270.0040.00419.58
8.0.260.0040.00419.46
8.0.250.0040.00419.13
8.0.240.0030.00619.47
8.0.230.0000.00819.21
8.0.220.0000.00819.10
8.0.210.0060.00319.34
8.0.200.0000.00719.16
8.0.190.0000.00819.05
8.0.180.0080.00019.30
8.0.170.0060.00319.18
8.0.160.0040.00419.13
8.0.150.0030.00619.12
8.0.140.0050.00319.18
8.0.130.0030.00313.38
8.0.120.0000.00819.42
8.0.110.0000.00819.43
8.0.100.0030.00519.33
8.0.90.0030.00619.49
8.0.80.0100.00619.41
8.0.70.0040.00419.34
8.0.60.0090.00019.13
8.0.50.0080.00019.46
8.0.30.0100.01019.38
8.0.20.0150.01119.62
8.0.10.0040.00419.61
8.0.00.0130.00719.11
7.4.330.0040.00016.67
7.4.320.0040.00419.14
7.4.300.0000.00719.19
7.4.290.0030.00618.85
7.4.280.0000.00819.02
7.4.270.0030.00618.89
7.4.260.0040.00418.89
7.4.250.0040.00419.09
7.4.240.0060.00319.11
7.4.230.0000.00819.09
7.4.220.0070.02018.85
7.4.210.0140.00719.15
7.4.200.0090.00019.03
7.4.160.0060.01318.91
7.4.150.0130.00719.11
7.4.140.0170.00918.85
7.4.130.0070.01318.96
7.4.120.0120.00818.88
7.4.110.0100.01018.77
7.4.100.0060.01518.88
7.4.90.0090.01219.09
7.4.80.0140.01119.39
7.4.70.0110.00819.02
7.4.60.0110.00718.81
7.4.50.0050.01018.79
7.4.40.0120.00718.91
7.4.30.0030.01518.70
7.4.00.0060.00617.62
7.3.330.0000.00713.10
7.3.320.0030.00313.14
7.3.310.0080.00018.42
7.3.300.0030.00618.66
7.3.290.0070.01018.62
7.3.280.0060.01018.58
7.3.270.0090.01219.10
7.3.260.0170.01019.11
7.3.250.0140.00518.70
7.3.240.0110.00818.89
7.3.230.0140.00618.51
7.3.210.0090.00918.83
7.3.200.0040.01418.79
7.3.190.0080.01119.02
7.3.180.0090.00919.07
7.3.170.0130.00618.75
7.3.160.0110.00718.93
7.2.330.0070.01418.95
7.2.320.0060.01218.70
7.2.310.0110.00718.80
7.2.300.0060.01319.27
7.2.290.0110.00819.04
7.2.60.0070.01519.40
7.2.00.0030.01322.07
7.1.200.0000.01318.42
7.1.70.0000.00819.50
7.1.60.0140.00019.78
7.1.50.0110.00419.43
7.1.00.0030.07325.16
7.0.200.0060.01419.23
7.0.60.0030.06722.45
7.0.50.0070.04317.77
7.0.40.0070.04322.29
7.0.30.0400.06022.31
7.0.20.0200.07722.30
7.0.10.0100.05722.67
7.0.00.0100.08022.47
5.6.280.0000.06023.69
5.6.210.0070.08323.07
5.6.200.0070.03718.13
5.6.190.0070.05722.70
5.6.180.0300.05322.87
5.6.170.0200.06322.75
5.6.160.0030.04322.71
5.6.150.0100.06018.17
5.6.140.0100.07318.07
5.6.130.0130.07018.20
5.6.120.0170.05023.29
5.6.110.0030.09023.82
5.6.100.0100.07323.66
5.6.90.0030.06323.82
5.6.80.0100.06023.07
5.5.350.0100.06322.88
5.5.340.0000.04317.89
5.5.330.0100.08322.79
5.5.320.0000.05722.48
5.5.310.0230.04022.64
5.5.300.0100.07718.01
5.5.290.0000.07017.98
5.5.280.0030.08723.61
5.5.270.0100.07023.34
5.5.260.0030.04723.07
5.5.250.0070.04323.30
5.5.240.0200.07322.89

preferences:
52.41 ms | 401 KiB | 5 Q