3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new NumberFormatter('uk', 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.0130.01019.63
8.3.50.0120.01223.48
8.3.40.0090.00620.61
8.3.30.0150.00020.72
8.3.20.0060.00322.01
8.3.10.0060.00325.56
8.3.00.0040.00421.75
8.2.180.0100.00619.88
8.2.170.0080.00822.96
8.2.160.0060.01322.10
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00821.62
8.2.120.0030.00626.35
8.2.110.0080.00322.58
8.2.100.0090.00320.54
8.2.90.0030.00621.09
8.2.80.0000.00920.00
8.2.70.0040.00719.75
8.2.60.0060.00320.41
8.2.50.0040.00420.00
8.2.40.0050.00521.34
8.2.30.0110.00022.38
8.2.20.0070.00419.91
8.2.10.0040.00420.31
8.2.00.0030.00620.39
8.1.280.0070.01025.92
8.1.270.0030.00624.20
8.1.260.0030.00528.09
8.1.250.0080.00028.09
8.1.240.0100.00023.98
8.1.230.0080.00420.02
8.1.220.0050.00320.04
8.1.210.0060.00619.73
8.1.200.0030.00719.48
8.1.190.0040.00719.48
8.1.180.0000.00819.65
8.1.170.0060.00321.00
8.1.160.0000.00823.84
8.1.150.0000.00920.66
8.1.140.0050.00521.89
8.1.130.0060.00319.96
8.1.120.0130.00020.02
8.1.110.0040.00419.54
8.1.100.0040.00420.01
8.1.90.0000.00919.55
8.1.80.0000.00919.95
8.1.70.0050.00219.91
8.1.60.0040.00820.01
8.1.50.0050.01120.02
8.1.40.0100.01019.66
8.1.30.0050.00520.02
8.1.20.0050.00520.12
8.1.10.0030.00620.05
8.1.00.0070.00319.83
8.0.300.0000.01019.10
8.0.290.0030.00619.13
8.0.280.0030.00620.23
8.0.270.0090.00619.58
8.0.260.0070.00019.53
8.0.250.0030.00519.30
8.0.240.0040.00419.30
8.0.230.0090.00019.11
8.0.220.0080.00019.13
8.0.210.0080.00319.04
8.0.200.0030.00619.24
8.0.190.0000.00919.19
8.0.180.0060.00919.09
8.0.170.0000.00919.21
8.0.160.0080.00019.02
8.0.150.0040.00418.99
8.0.140.0030.00619.16
8.0.130.0050.00013.33
8.0.120.0000.01019.38
8.0.110.0040.00419.25
8.0.100.0030.00619.30
8.0.90.0050.00319.11
8.0.80.0170.00719.25
8.0.70.0000.00919.38
8.0.60.0050.00319.25
8.0.50.0030.00519.36
8.0.30.0050.01619.58
8.0.20.0080.01319.41
8.0.10.0060.00319.49
8.0.00.0090.01218.92
7.4.330.0000.00516.79
7.4.320.0030.00318.98
7.4.300.0030.00318.98
7.4.290.0080.00018.84
7.4.280.0070.00318.87
7.4.270.0040.00418.98
7.4.260.0040.00418.86
7.4.250.0000.00819.01
7.4.240.0010.00718.98
7.4.230.0080.00018.98
7.4.220.0130.01718.91
7.4.210.0050.01118.89
7.4.200.0000.00818.77
7.4.160.0130.00718.84
7.4.150.0150.00318.77
7.4.140.0100.01018.73
7.4.130.0160.00618.71
7.4.120.0110.01118.70
7.4.110.0100.01018.65
7.4.100.0080.01618.74
7.4.90.0070.01118.82
7.4.80.0120.00619.39
7.4.70.0030.01418.93
7.4.60.0040.01518.63
7.4.50.0060.00918.68
7.4.40.0030.01418.61
7.4.30.0060.01518.57
7.4.00.0030.01417.39
7.3.330.0000.00513.20
7.3.320.0050.00013.11
7.3.310.0000.00818.66
7.3.300.0040.00418.54
7.3.290.0090.01118.62
7.3.280.0060.01318.51
7.3.270.0040.01418.92
7.3.260.0060.01218.66
7.3.240.0110.00718.64
7.3.230.0150.00418.67
7.3.210.0060.01218.56
7.3.200.0070.01718.52
7.3.190.0000.01918.62
7.3.180.0040.01418.43
7.3.170.0150.00618.88
7.3.160.0150.00318.72
7.3.10.0100.00319.12
7.3.00.0030.00919.09
7.2.330.0000.02018.82
7.2.320.0180.00318.91
7.2.310.0060.01918.64
7.2.300.0090.00918.68
7.2.290.0090.00918.97
7.2.130.0080.00419.33
7.2.120.0030.01319.21
7.2.110.0060.00919.08
7.2.100.0060.00919.40
7.2.90.0030.01419.21
7.2.80.0050.01319.10
7.2.70.0120.00618.94
7.2.60.0050.01019.32
7.2.50.0030.01419.54
7.2.40.0000.01319.43
7.2.30.0040.01119.33
7.2.20.0100.00019.14
7.2.10.0070.01119.36
7.2.00.0050.01420.88
7.1.250.0070.00718.00
7.1.200.0030.00818.23
7.1.100.0000.01320.52
7.1.70.0060.01019.72
7.1.60.0100.01719.97
7.1.50.0090.01319.77
7.1.00.0000.07725.00
7.0.200.0480.00017.78
7.0.60.0000.08322.36
7.0.50.0100.07717.90
7.0.40.0130.08322.57
7.0.30.0600.06322.50
7.0.20.0400.06722.43
7.0.10.0130.07722.25
7.0.00.0130.08022.52
5.6.280.0030.04723.46
5.6.210.0070.04023.18
5.6.200.0070.08718.09
5.6.190.0070.09022.67
5.6.180.0270.07722.86
5.6.170.0170.04022.82
5.6.160.0100.07322.65
5.6.150.0000.06318.22
5.6.140.0070.03718.15
5.6.130.0070.08018.07
5.6.120.0100.06723.55
5.6.110.0100.08323.51
5.6.100.0130.04023.70
5.6.90.0070.08023.43
5.6.80.0100.06722.81
5.5.350.0100.07723.04
5.5.340.0100.06717.89
5.5.330.0000.04322.50
5.5.320.0070.05322.45
5.5.310.0170.04022.41
5.5.300.0000.08717.96
5.5.290.0130.07717.96
5.5.280.0000.04723.45
5.5.270.0030.08323.34
5.5.260.0030.09323.04
5.5.250.0100.05023.21
5.5.240.0170.07322.78

preferences:
52.97 ms | 401 KiB | 5 Q