3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new NumberFormatter('ru', 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.40.0190.00624.37
8.3.30.0100.01424.20
8.3.20.0070.00725.87
8.3.10.0100.00329.23
8.3.00.0030.01025.63
8.2.170.0230.00324.59
8.2.160.0160.01327.77
8.2.150.0070.00725.66
8.2.140.0030.01026.35
8.2.130.0100.00723.88
8.2.120.0000.01327.86
8.2.110.0070.01028.00
8.2.100.0250.01323.80
8.2.90.0000.01425.02
8.2.80.0040.01123.88
8.2.70.0100.01023.50
8.2.60.0090.00923.93
8.2.50.0120.00323.88
8.2.40.0000.01425.63
8.2.30.0070.00726.21
8.2.20.0060.00924.06
8.2.10.0030.01024.30
8.2.00.0040.01124.25
8.1.270.0070.01027.64
8.1.260.0100.00328.09
8.1.250.0000.01228.09
8.1.240.0110.00429.72
8.1.230.0040.01423.91
8.1.220.0070.00723.68
8.1.210.0040.01123.48
8.1.200.0090.00623.48
8.1.190.0000.01523.48
8.1.180.0070.00723.54
8.1.170.0030.01325.01
8.1.160.0040.00827.58
8.1.150.0000.01324.46
8.1.140.0070.00725.66
8.1.130.0120.00623.89
8.1.120.0070.00723.73
8.1.110.0070.01123.56
8.1.100.0030.01023.68
8.1.90.0030.01023.57
8.1.80.0030.01023.40
8.1.70.0000.01323.63
8.1.60.0070.00723.81
8.1.50.0070.00723.68
8.1.40.0030.01023.73
8.1.30.0040.01123.97
8.1.20.0070.01123.77
8.1.10.0040.01123.70
8.1.00.0000.01423.76
8.0.300.0070.00722.95
8.0.290.0030.01023.00
8.0.280.0060.00624.16
8.0.270.0040.00823.48
8.0.260.0030.01023.48
8.0.250.0040.01523.20
8.0.240.0040.01123.21
8.0.230.0070.00723.30
8.0.220.0100.00622.98
8.0.210.0000.01423.19
8.0.200.0030.00923.30
8.0.190.0070.00723.23
8.0.180.0090.00623.28
8.0.170.0060.00923.28
8.0.160.0000.01323.02
8.0.150.0100.00323.16
8.0.140.0040.01123.13
8.0.130.0030.00313.33
8.0.120.0060.01223.20
8.0.110.0030.01023.15
8.0.100.0030.01023.22
8.0.90.0070.00722.98
8.0.80.0140.01422.97
8.0.70.0040.01223.01
8.0.60.0100.00323.21
8.0.50.0100.00323.26
8.0.30.0140.02023.23
8.0.20.0130.02123.31
8.0.10.0130.00023.34
8.0.00.0150.01822.92
7.4.330.0000.00616.83
7.4.320.0080.00422.77
7.4.300.0030.00923.02
7.4.290.0000.01322.98
7.4.280.0030.01122.98
7.4.270.0000.01423.02
7.4.260.0000.01322.86
7.4.250.0060.00922.82
7.4.240.0090.00522.93
7.4.230.0080.00422.97
7.4.220.0090.02623.01
7.4.210.0160.01322.84
7.4.200.0070.00723.09
7.4.160.0090.02123.04
7.4.150.0200.01322.68
7.4.140.0130.02622.80
7.4.130.0160.02222.75
7.4.120.0170.01522.74
7.4.110.0200.01322.84
7.4.100.0230.01022.83
7.4.90.0170.01722.54
7.4.80.0130.02222.50
7.4.70.0110.02222.78
7.4.60.0130.01722.77
7.4.50.0070.01422.81
7.4.40.0140.01722.76
7.4.30.0140.02022.73
7.4.00.0170.01720.74
7.3.330.0000.00613.02
7.3.320.0020.00213.10
7.3.310.0080.00422.57
7.3.300.0100.00322.53
7.3.290.0030.01022.49
7.3.280.0120.01822.48
7.3.270.0180.02422.42
7.3.260.0160.03022.73
7.3.240.0140.02422.71
7.3.230.0110.02222.55
7.3.210.0180.01722.45
7.3.200.0030.02822.77
7.3.190.0140.01822.48
7.3.180.0220.02522.76
7.3.170.0130.02722.49
7.3.160.0170.02022.48
7.3.120.0220.02021.00
7.3.110.0320.00720.98
7.3.100.0060.01620.85
7.3.90.0030.01820.86
7.3.80.0100.01320.79
7.3.70.0100.01320.67
7.3.60.0000.01920.66
7.3.50.0030.01920.83
7.3.40.0090.01620.89
7.3.30.0100.01020.99
7.3.20.0090.00622.64
7.3.10.0060.01622.40
7.3.00.0060.01522.62
7.2.330.0220.01022.97
7.2.320.0150.02822.96
7.2.310.0060.02522.44
7.2.300.0280.01622.86
7.2.290.0160.03122.76
7.2.250.0240.01721.08
7.2.240.0140.03120.86
7.2.230.0100.01420.84
7.2.220.0060.01621.07
7.2.210.0130.01020.96
7.2.200.0130.01320.99
7.2.190.0040.01521.18
7.2.180.0070.01720.87
7.2.170.0130.01020.94
7.2.60.0130.00622.14
7.2.00.0070.01525.56
7.1.330.0070.01421.77
7.1.320.0090.01221.93
7.1.310.0100.01322.02
7.1.300.0150.00721.56
7.1.290.0100.01321.82
7.1.280.0030.01821.77
7.1.270.0110.00721.77
7.1.260.0040.01521.64
7.1.200.0040.01821.79
7.1.100.0070.01024.20
7.1.70.0030.00923.41
7.1.60.0150.00423.57
7.1.50.0040.01523.39
7.1.40.0070.01122.95
7.1.30.0060.01222.96
7.1.20.0030.01323.29
7.1.10.0000.01522.75
7.1.00.0000.01622.94
7.0.200.0040.01123.09
7.0.190.0000.01523.04
7.0.180.0110.00722.99
7.0.170.0070.00722.90
7.0.160.0070.00722.48
7.0.150.0070.01822.56
7.0.140.0070.00723.09
7.0.130.0030.01222.77
7.0.120.0070.01322.72
7.0.110.0100.01022.57
7.0.100.0080.00822.71
7.0.90.0110.00422.63
7.0.80.0040.01122.34
7.0.70.0000.01422.59
7.0.60.0000.01522.34
7.0.50.0040.01122.43
7.0.40.0060.00920.55
7.0.30.0000.01420.96
7.0.20.0110.00420.96
7.0.10.0000.01620.76
7.0.00.0090.00620.73
5.6.300.0030.06727.44
5.6.290.0100.04827.33
5.6.280.0070.04327.37
5.6.270.0000.05327.21
5.6.260.0100.05227.46
5.6.250.0000.05727.59
5.6.240.0100.04327.29
5.6.230.0030.05327.15
5.6.220.0180.03327.39
5.6.210.0070.05527.43
5.6.200.0100.04227.25
5.6.190.0100.05827.26
5.6.180.0000.05427.38
5.6.170.0070.05027.45
5.6.160.0070.04127.23
5.6.150.0030.05327.42
5.6.140.0070.05327.43
5.6.130.0030.05927.39
5.6.120.0030.04727.17
5.6.110.0070.05827.06
5.6.100.0030.04727.09
5.6.90.0200.04027.25
5.6.80.0000.05126.58
5.6.70.0070.04426.60
5.6.60.0070.05426.75
5.6.50.0000.05126.53
5.6.40.0170.04626.49
5.6.30.0030.09326.36
5.6.20.0140.05426.72
5.6.10.0000.05326.74
5.6.00.0030.04526.54
5.5.380.0000.05117.46
5.5.370.0030.04217.56
5.5.360.0030.04417.54
5.5.350.0030.04117.49
5.5.340.0030.04618.03
5.5.330.0030.04017.73
5.5.320.0030.03817.98
5.5.310.0000.04518.06
5.5.300.0060.03918.03
5.5.290.0030.04417.83
5.5.280.0030.04118.03
5.5.270.0070.04317.96
5.5.260.0030.04417.96
5.5.250.0070.04017.88
5.5.240.0040.04017.45
5.5.230.0000.04717.21
5.5.220.0030.04017.49
5.5.210.0070.03317.41
5.5.200.0070.04917.05
5.5.190.0040.07417.38
5.5.180.0140.04217.19
5.5.160.0030.04517.29
5.5.150.0090.03617.37
5.5.140.0030.03717.34
5.5.130.0000.04117.40
5.5.120.0000.04517.38
5.5.110.0000.04317.37
5.5.100.0030.03817.29
5.5.90.0100.05717.09
5.5.80.0030.04217.33
5.5.70.0030.05217.27
5.5.60.0030.05517.27
5.5.50.0000.04917.22
5.5.40.0000.04917.23
5.5.30.0000.04517.07
5.5.20.0030.03817.35
5.5.10.0000.04517.18
5.5.00.0000.04117.26

preferences:
43.63 ms | 400 KiB | 5 Q