3v4l.org

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

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.00
8.3.50.0100.00620.59
8.3.40.0100.00720.63
8.3.30.0040.01120.59
8.3.20.0050.00321.96
8.3.10.0030.00525.46
8.3.00.0060.00321.38
8.2.180.0060.00919.13
8.2.170.0060.01022.96
8.2.160.0130.00622.10
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0060.00319.74
8.2.120.0000.00926.35
8.2.110.0100.00023.28
8.2.100.0060.00619.97
8.2.90.0040.00420.53
8.2.80.0000.00820.28
8.2.70.0060.00320.18
8.2.60.0100.00320.15
8.2.50.0050.00519.88
8.2.40.0050.00322.47
8.2.30.0060.00322.33
8.2.20.0030.00719.80
8.2.10.0040.00420.35
8.2.00.0080.00020.30
8.1.280.0110.01125.92
8.1.270.0070.00425.54
8.1.260.0050.00328.09
8.1.250.0090.00028.09
8.1.240.0070.00421.39
8.1.230.0080.00423.12
8.1.220.0030.00620.03
8.1.210.0050.00520.91
8.1.200.0030.01019.50
8.1.190.0000.00919.48
8.1.180.0000.00819.61
8.1.170.0030.00620.84
8.1.160.0050.00323.88
8.1.150.0030.00620.61
8.1.140.0000.00921.84
8.1.130.0030.00619.80
8.1.120.0030.00519.95
8.1.110.0040.00420.05
8.1.100.0080.00019.58
8.1.90.0030.00519.82
8.1.80.0030.00519.95
8.1.70.0090.00019.86
8.1.60.0030.00619.58
8.1.50.0040.00419.93
8.1.40.0030.01020.04
8.1.30.0030.00619.89
8.1.20.0000.00820.03
8.1.10.0060.00319.79
8.1.00.0030.00619.77
8.0.300.0050.00321.73
8.0.290.0060.00319.00
8.0.280.0060.00320.25
8.0.270.0090.00019.47
8.0.260.0020.00519.48
8.0.250.0040.00419.04
8.0.240.0000.00719.22
8.0.230.0000.00819.09
8.0.220.0000.00719.17
8.0.210.0060.00319.19
8.0.200.0030.00319.29
8.0.190.0040.00418.98
8.0.180.0030.00719.18
8.0.170.0040.00419.21
8.0.160.0000.00818.95
8.0.150.0000.00818.91
8.0.140.0000.00719.10
8.0.130.0050.00013.36
8.0.120.0030.00619.12
8.0.110.0060.00319.36
8.0.100.0040.00419.33
8.0.90.0080.00019.06
8.0.80.0060.01019.37
8.0.70.0060.00319.08
8.0.60.0040.00419.43
8.0.50.0060.00319.21
8.0.30.0110.00719.48
8.0.20.0190.01519.48
8.0.10.0040.00419.43
8.0.00.0060.01219.16
7.4.330.0000.00516.67
7.4.320.0030.00319.04
7.4.300.0030.00318.86
7.4.290.0080.00019.13
7.4.280.0060.00319.07
7.4.270.0000.00718.99
7.4.260.0040.00419.10
7.4.250.0090.00018.93
7.4.240.0030.00519.02
7.4.230.0000.00718.85
7.4.220.0140.00718.92
7.4.210.0120.00318.93
7.4.200.0100.00019.16
7.4.160.0090.00918.70
7.4.150.0070.01418.91
7.4.140.0140.00818.89
7.4.130.0080.01018.69
7.4.120.0090.01018.61
7.4.110.0060.01318.69
7.4.100.0120.01218.94
7.4.90.0150.01118.93
7.4.80.0090.00919.39
7.4.70.0120.00918.91
7.4.60.0110.00719.01
7.4.50.0070.01018.79
7.4.40.0060.01218.91
7.4.30.0100.00818.95
7.4.00.0080.00817.34
7.3.330.0030.00313.15
7.3.320.0030.00213.01
7.3.310.0080.00018.63
7.3.300.0040.00418.75
7.3.290.0080.01018.55
7.3.280.0100.01118.61
7.3.270.0090.00918.88
7.3.260.0120.00618.74
7.3.250.0100.01118.82
7.3.240.0130.01018.65
7.3.230.0100.00619.09
7.3.210.0130.00718.82
7.3.200.0130.01318.56
7.3.190.0140.00818.68
7.3.180.0060.01318.64
7.3.170.0090.00918.95
7.3.160.0060.01318.48
7.2.330.0070.01419.00
7.2.320.0100.01418.87
7.2.310.0120.00618.92
7.2.300.0100.01318.70
7.2.290.0080.01118.69
7.2.60.0100.00318.94
7.2.00.0120.00321.83
7.1.200.0100.00618.38
7.1.100.0070.00420.68
7.1.70.0000.00819.49
7.1.60.0030.02119.71
7.1.50.0070.01319.32
7.1.00.0000.07725.01
7.0.200.0150.00917.61
7.0.60.0070.05322.35
7.0.50.0070.05317.90
7.0.40.0130.05322.49
7.0.30.0330.07022.48
7.0.20.0300.07022.54
7.0.10.0100.07322.50
7.0.00.0130.06022.32
5.6.280.0030.07023.45
5.6.210.0030.05723.17
5.6.200.0070.04018.18
5.6.190.0070.08722.86
5.6.180.0270.05722.68
5.6.170.0170.04022.56
5.6.160.0070.09022.87
5.6.150.0070.06018.22
5.6.140.0000.04018.18
5.6.130.0070.07018.11
5.6.120.0130.03323.40
5.6.110.0100.08723.35
5.6.100.0130.07323.43
5.6.90.0200.06323.64
5.6.80.0130.04322.73
5.5.350.2200.03022.80
5.5.340.0100.07318.02
5.5.330.0100.03722.51
5.5.320.0100.06722.50
5.5.310.0400.06722.49
5.5.300.0100.04317.94
5.5.290.0070.05717.91
5.5.280.0070.08323.17
5.5.270.0030.08723.30
5.5.260.0130.05723.46
5.5.250.0070.08322.91
5.5.240.0230.07722.72

preferences:
55.8 ms | 400 KiB | 5 Q