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(1000000000000); ?>

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.50
8.3.50.0150.00823.49
8.3.40.0070.01020.90
8.3.30.0160.00320.54
8.3.20.0040.00422.16
8.3.10.0080.00025.57
8.3.00.0030.00621.63
8.2.180.0160.00921.54
8.2.170.0160.00622.96
8.2.160.0140.00421.16
8.2.150.0050.00524.18
8.2.140.0000.00824.66
8.2.130.0080.00321.39
8.2.120.0040.00426.35
8.2.110.0030.00722.36
8.2.100.0030.01020.30
8.2.90.0050.00321.06
8.2.80.0060.00320.00
8.2.70.0050.00519.75
8.2.60.0060.00320.30
8.2.50.0060.00320.00
8.2.40.0000.00821.56
8.2.30.0050.00322.55
8.2.20.0040.00420.04
8.2.10.0030.00620.43
8.2.00.0040.00420.21
8.1.280.0070.01025.92
8.1.270.0000.01025.84
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0060.00324.07
8.1.230.0080.00419.91
8.1.220.0000.00920.16
8.1.210.0030.00619.60
8.1.200.0050.00519.60
8.1.190.0000.00819.60
8.1.180.0030.00519.91
8.1.170.0030.00521.16
8.1.160.0030.00523.82
8.1.150.0030.00520.69
8.1.140.0050.00521.75
8.1.130.0040.00419.99
8.1.120.0000.00819.90
8.1.110.0000.00819.62
8.1.100.0040.00419.92
8.1.90.0040.00419.88
8.1.80.0000.00819.86
8.1.70.0000.00719.61
8.1.60.0030.00620.16
8.1.50.0000.00920.01
8.1.40.0080.00419.92
8.1.30.0090.00020.07
8.1.20.0030.00620.02
8.1.10.0080.00020.16
8.1.00.0000.00820.05
8.0.300.0060.00319.35
8.0.290.0040.00419.13
8.0.280.0040.00420.28
8.0.270.0060.00319.68
8.0.260.0000.00719.54
8.0.250.0050.00219.16
8.0.240.0050.00219.32
8.0.230.0050.00319.16
8.0.220.0040.00419.10
8.0.210.0050.00318.98
8.0.200.0030.00519.16
8.0.190.0000.00819.11
8.0.180.0040.00719.13
8.0.170.0060.00319.18
8.0.160.0040.00419.13
8.0.150.0040.00419.05
8.0.140.0040.00419.15
8.0.130.0030.00313.38
8.0.120.0030.00619.15
8.0.110.0040.00419.09
8.0.100.0040.00419.22
8.0.90.0000.00819.14
8.0.80.0120.00419.32
8.0.70.0040.00419.15
8.0.60.0040.00419.34
8.0.50.0040.00419.13
8.0.30.0150.00519.25
8.0.20.0090.01219.46
8.0.10.0090.00019.46
8.0.00.0090.01019.08
7.4.330.0060.00016.72
7.4.320.0000.00819.09
7.4.300.0030.00318.96
7.4.290.0050.00218.90
7.4.280.0030.00718.87
7.4.270.0070.00018.96
7.4.260.0000.00718.89
7.4.250.0060.00318.84
7.4.240.0030.00418.88
7.4.230.0040.00418.71
7.4.220.0120.00818.73
7.4.210.0100.00718.77
7.4.200.0040.00418.85
7.4.160.0130.00718.82
7.4.150.0030.01618.70
7.4.140.0160.00618.81
7.4.130.0090.01118.79
7.4.120.0100.00818.81
7.4.110.0090.01518.91
7.4.100.0080.01718.65
7.4.90.0100.01018.73
7.4.80.0040.01419.39
7.4.70.0090.00918.85
7.4.60.0080.00818.71
7.4.50.0030.01418.62
7.4.40.0150.00918.86
7.4.30.0060.01218.78
7.4.00.0060.00917.37
7.3.330.0020.00212.94
7.3.320.0050.00013.18
7.3.310.0000.00718.71
7.3.300.0030.00518.59
7.3.290.0060.00918.58
7.3.280.0120.00618.59
7.3.270.0110.00718.75
7.3.260.0060.01218.90
7.3.250.0170.00718.67
7.3.240.0120.01218.77
7.3.230.0030.01518.88
7.3.210.0090.00918.91
7.3.200.0120.00618.80
7.3.190.0100.00718.63
7.3.180.0150.00318.82
7.3.170.0130.00618.81
7.3.160.0060.01218.63
7.3.10.0030.01319.12
7.3.00.0120.00318.70
7.2.330.0130.01619.13
7.2.320.0130.01218.89
7.2.310.0080.01218.77
7.2.300.0090.00919.14
7.2.290.0140.00718.79
7.2.130.0060.00919.31
7.2.120.0070.00719.33
7.2.110.0060.00619.33
7.2.100.0030.01019.45
7.2.90.0090.00619.43
7.2.80.0030.01319.48
7.2.70.0110.00319.36
7.2.60.0090.00519.21
7.2.50.0130.00319.56
7.2.40.0060.00919.23
7.2.30.0040.00819.21
7.2.20.0070.01119.29
7.2.10.0060.01019.24
7.2.00.0040.00820.76
7.1.250.0000.01618.36
7.1.200.0080.00817.98
7.1.100.0040.00920.66
7.1.70.0030.00619.72
7.1.60.0040.02119.86
7.1.50.0030.02019.73
7.1.00.0070.07325.00
7.0.200.0360.00317.71
7.0.60.0030.08022.37
7.0.50.0100.08017.90
7.0.40.0070.05322.38
7.0.30.0600.07022.40
7.0.20.0300.07722.42
7.0.10.0170.03322.50
7.0.00.0100.08022.39
5.6.280.0030.03323.47
5.6.210.0030.05723.36
5.6.200.0200.06718.09
5.6.190.0170.07722.60
5.6.180.0200.07022.72
5.6.170.0170.04022.79
5.6.160.0130.07322.81
5.6.150.0000.04318.13
5.6.140.0030.04018.21
5.6.130.0070.06018.18
5.6.120.0030.07723.43
5.6.110.0100.08023.70
5.6.100.0030.04723.44
5.6.90.0130.08323.69
5.6.80.0100.08023.06
5.5.350.3730.05023.05
5.5.340.0030.04018.02
5.5.330.0000.04322.52
5.5.320.0000.06722.59
5.5.310.0270.05722.68
5.5.300.0030.06317.84
5.5.290.0030.09317.91
5.5.280.0000.07323.23
5.5.270.0030.07723.20
5.5.260.0070.04723.23
5.5.250.0070.07723.27
5.5.240.0270.07322.78

preferences:
53.14 ms | 401 KiB | 5 Q