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

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.0100.01424.34
8.3.30.0160.01324.20
8.3.20.0120.01526.00
8.3.10.0100.00329.29
8.3.00.0030.01225.63
8.2.170.0100.01424.74
8.2.160.0030.02025.85
8.2.150.0140.00024.64
8.2.140.0030.01026.10
8.2.130.0040.01125.46
8.2.120.0040.00928.00
8.2.110.0100.02427.90
8.2.100.0120.00824.29
8.2.90.0030.01024.73
8.2.80.0240.00023.50
8.2.70.0060.00923.50
8.2.60.0150.00323.93
8.2.50.0060.00923.63
8.2.40.0180.00225.52
8.2.30.0070.00726.30
8.2.20.0090.00923.96
8.2.10.0140.00024.13
8.2.00.0100.00324.18
8.1.270.0070.01429.67
8.1.260.0130.00028.09
8.1.250.0130.00028.09
8.1.240.0200.01328.08
8.1.230.0160.00323.78
8.1.220.0060.00923.89
8.1.210.0040.01123.36
8.1.200.0030.01223.48
8.1.190.0070.00723.47
8.1.180.0090.00623.63
8.1.170.0240.00324.83
8.1.160.0090.00427.64
8.1.150.0040.01124.46
8.1.140.0100.00725.75
8.1.130.0030.01023.95
8.1.120.0000.01623.75
8.1.110.0000.01323.54
8.1.100.0000.01423.74
8.1.90.0070.00723.64
8.1.80.0070.00723.75
8.1.70.0000.01323.64
8.1.60.0100.00323.75
8.1.50.0060.01223.64
8.1.40.0000.01423.68
8.1.30.0050.01023.96
8.1.20.0030.01023.82
8.1.10.0060.00923.84
8.1.00.0100.00623.65
8.0.300.0030.01023.10
8.0.290.0000.01322.88
8.0.280.0040.00824.14
8.0.270.0070.00723.48
8.0.260.0030.01023.42
8.0.250.0060.00923.30
8.0.240.0030.01023.16
8.0.230.0030.01023.29
8.0.220.0060.00623.04
8.0.210.0070.00723.20
8.0.200.0100.00323.24
8.0.190.0070.00723.24
8.0.180.0100.00323.30
8.0.170.0040.01223.24
8.0.160.0040.01223.04
8.0.150.0000.01422.93
8.0.140.0060.00623.16
8.0.130.0030.00313.27
8.0.120.0070.00723.09
8.0.110.0000.01323.17
8.0.100.0030.01023.09
8.0.90.0100.00323.23
8.0.80.0130.01623.19
8.0.70.0080.00523.21
8.0.60.0030.01023.23
8.0.50.0030.01023.23
8.0.30.0150.02023.32
8.0.20.0140.02523.17
8.0.10.0100.00323.24
8.0.00.0170.01522.96
7.4.330.0000.00616.78
7.4.320.0080.00422.97
7.4.300.0060.00622.89
7.4.290.0030.01022.99
7.4.280.0110.00722.80
7.4.270.0040.00822.84
7.4.260.0060.00622.89
7.4.250.0070.00722.88
7.4.240.0050.00822.89
7.4.230.0000.01323.06
7.4.220.0100.02622.95
7.4.210.0090.01922.96
7.4.200.0030.01022.93
7.4.160.0180.01222.77
7.4.150.0240.02422.85
7.4.140.0160.01822.79
7.4.130.0130.02622.94
7.4.120.0200.01522.69
7.4.110.0150.01822.65
7.4.100.0160.03022.80
7.4.90.0150.01922.94
7.4.80.0070.02722.64
7.4.70.0210.01422.93
7.4.60.0070.02722.82
7.4.50.0100.01322.70
7.4.40.0260.00722.79
7.4.30.0310.01222.75
7.4.00.0070.01421.03
7.3.330.0060.00013.10
7.3.320.0000.00613.19
7.3.310.0030.01022.34
7.3.300.0000.01222.45
7.3.290.0080.02022.48
7.3.280.0170.01822.52
7.3.270.0170.02022.54
7.3.260.0170.01722.94
7.3.250.0150.01622.58
7.3.240.0090.03322.60
7.3.230.0150.01522.85
7.3.210.0110.02522.75
7.3.200.0130.01922.82
7.3.190.0160.01722.47
7.3.180.0150.01522.52
7.3.170.0140.01822.79
7.3.160.0210.01022.64
7.3.10.0080.01422.38
7.3.00.0120.01022.49
7.2.330.0160.01622.84
7.2.320.0260.02622.95
7.2.310.0120.02322.72
7.2.300.0150.01823.02
7.2.290.0190.02622.82
7.2.130.0090.01222.81
7.2.120.0130.00822.99
7.2.110.0100.01622.96
7.2.100.0090.01322.88
7.2.90.0080.01022.91
7.2.80.0080.01123.10
7.2.70.0070.01323.02
7.2.60.0080.01222.95
7.2.50.0080.01423.11
7.2.40.0130.01122.88
7.2.30.0070.01722.91
7.2.20.0070.01522.84
7.2.10.0130.00823.00
7.2.00.0100.01323.92
7.1.250.0070.01321.91
7.1.200.0210.02121.35
7.1.100.0070.01324.47
7.1.70.0100.00323.43
7.1.60.0190.01923.70
7.1.50.0040.02523.41
7.1.00.0030.08728.52
7.0.200.0420.00921.27
7.0.60.0100.06026.41
7.0.50.0030.06717.82
7.0.40.0230.08326.11
7.0.30.0370.07726.04
7.0.20.0370.06326.00
7.0.10.0100.09325.81
7.0.00.0070.06026.07
5.6.280.0000.08327.23
5.6.210.0100.08726.93
5.6.200.0100.04018.10
5.6.190.0100.09326.78
5.6.180.3000.05726.66
5.6.170.0330.09026.55
5.6.160.0070.09026.57
5.6.150.0070.08718.17
5.6.140.0130.06318.11
5.6.130.0030.07018.16
5.6.120.0100.05327.23
5.6.110.0130.04727.06
5.6.100.0070.08727.50
5.6.90.0100.07027.42
5.6.80.0130.08026.95
5.5.350.0370.08026.84
5.5.340.0030.08317.98
5.5.330.0070.09726.51
5.5.320.0030.07726.32
5.5.310.0170.06326.32
5.5.300.0130.07318.02
5.5.290.0130.06718.01
5.5.280.0130.08027.07
5.5.270.0070.05026.92
5.5.260.0130.09027.21
5.5.250.0130.08027.08
5.5.240.0170.09326.53

preferences:
48.45 ms | 400 KiB | 5 Q