3v4l.org

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

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.0130.01020.58
8.3.30.0040.01120.45
8.3.20.0030.00521.96
8.3.10.0050.00325.38
8.3.00.0000.00921.63
8.2.170.0110.01122.96
8.2.160.0100.00522.32
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0060.00321.48
8.2.120.0080.00026.35
8.2.110.0060.00322.40
8.2.100.0040.00820.03
8.2.90.0030.00621.05
8.2.80.0050.01019.63
8.2.70.0060.00319.73
8.2.60.0050.00920.05
8.2.50.0000.00819.88
8.2.40.0060.00321.61
8.2.30.0040.00422.26
8.2.20.0000.01019.80
8.2.10.0030.00520.09
8.2.00.0000.00820.11
8.1.270.0000.01025.57
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0080.00325.50
8.1.230.0070.00722.96
8.1.220.0090.00019.91
8.1.210.0060.00319.48
8.1.200.0030.00719.48
8.1.190.0060.00319.48
8.1.180.0030.00519.79
8.1.170.0110.00320.48
8.1.160.0050.00323.74
8.1.150.0040.00420.57
8.1.140.0000.00821.66
8.1.130.0000.00719.89
8.1.120.0000.00819.93
8.1.110.0000.00819.90
8.1.100.0050.00319.91
8.1.90.0030.00519.56
8.1.80.0040.00419.91
8.1.70.0000.00719.40
8.1.60.0060.00320.08
8.1.50.0060.00319.57
8.1.40.0000.01119.50
8.1.30.0060.00619.78
8.1.20.0000.00820.09
8.1.10.0040.00419.93
8.1.00.0060.00319.98
8.0.300.0000.00819.16
8.0.290.0080.00018.88
8.0.280.0030.00620.15
8.0.270.0030.00619.50
8.0.260.0000.00919.46
8.0.250.0000.00719.03
8.0.240.0030.00519.11
8.0.230.0030.00519.12
8.0.220.0000.00818.89
8.0.210.0090.00018.91
8.0.200.0030.00319.11
8.0.190.0030.00519.04
8.0.180.0060.00319.18
8.0.170.0060.00619.15
8.0.160.0050.00318.96
8.0.150.0060.00318.84
8.0.140.0050.00319.15
8.0.130.0060.00013.30
8.0.120.0060.00319.38
8.0.110.0040.00419.27
8.0.100.0050.00318.97
8.0.90.0040.00419.27
8.0.80.0140.00419.40
8.0.70.0060.00319.35
8.0.60.0040.00419.02
8.0.50.0030.00519.32
8.0.30.0080.01319.46
8.0.20.0080.01119.56
8.0.10.0050.00319.43
8.0.00.0060.01419.09
7.4.330.0000.00516.88
7.4.320.0040.00419.05
7.4.300.0000.01019.07
7.4.290.0000.00818.92
7.4.280.0000.00819.04
7.4.270.0000.00719.07
7.4.260.0000.00819.02
7.4.250.0000.00918.92
7.4.240.0040.00419.02
7.4.230.0030.00518.75
7.4.220.0120.01218.99
7.4.210.0040.01119.10
7.4.200.0040.00418.95
7.4.160.0180.00018.74
7.4.150.0130.00718.86
7.4.140.0090.01218.74
7.4.130.0080.01418.76
7.4.120.0060.01218.78
7.4.110.0160.00318.96
7.4.100.0160.00618.89
7.4.90.0130.00618.74
7.4.80.0150.00619.39
7.4.70.0030.01518.91
7.4.60.0170.00018.74
7.4.50.0060.00918.80
7.4.40.0030.01518.61
7.4.30.0120.00618.90
7.4.00.0000.01617.74
7.3.330.0030.00313.06
7.3.320.0060.00013.18
7.3.310.0080.00018.55
7.3.300.0040.00418.70
7.3.290.0070.01118.48
7.3.280.0090.01018.56
7.3.270.0110.00718.84
7.3.260.0090.00918.81
7.3.250.0150.00718.62
7.3.240.0140.00418.55
7.3.230.0060.01118.56
7.3.210.0140.00318.59
7.3.200.0100.00718.54
7.3.190.0140.00718.74
7.3.180.0110.00718.80
7.3.170.0110.00618.45
7.3.160.0120.00618.86
7.2.330.0190.00319.21
7.2.320.0120.00918.73
7.2.310.0100.01018.93
7.2.300.0090.01619.02
7.2.290.0110.00819.09
7.2.60.0030.01219.36
7.2.00.0040.01121.87
7.1.200.0060.00918.24
7.1.100.0000.01320.81
7.1.70.0030.00919.57
7.1.60.0090.01619.66
7.1.50.0120.00919.31
7.1.00.0030.08025.08
7.0.200.0380.00617.03
7.0.60.0130.04322.49
7.0.50.0100.07717.88
7.0.40.0030.05022.36
7.0.30.0270.06722.29
7.0.20.0400.05722.46
7.0.10.0070.04022.53
7.0.00.0170.08022.46
5.6.280.0030.03323.57
5.6.210.0130.03323.24
5.6.200.0070.04018.15
5.6.190.0030.04322.80
5.6.180.0300.06322.92
5.6.170.0270.06322.59
5.6.160.0070.08322.66
5.6.150.0030.08718.22
5.6.140.0070.04318.12
5.6.130.0070.07718.17
5.6.120.0100.07023.37
5.6.110.0070.07323.79
5.6.100.0100.04723.42
5.6.90.0130.08023.34
5.6.80.0070.07322.76
5.5.350.1900.03323.00
5.5.340.0000.04317.97
5.5.330.0000.09022.85
5.5.320.0030.08322.36
5.5.310.0200.04322.60
5.5.300.0170.06317.97
5.5.290.0070.08318.01
5.5.280.0000.05723.36
5.5.270.0100.08323.36
5.5.260.0030.04723.50
5.5.250.0100.08323.32
5.5.240.0770.05022.69

preferences:
42.35 ms | 400 KiB | 5 Q