3v4l.org

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

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.70.0200.00724.63
8.3.60.0260.01624.13
8.3.50.0240.01425.94
8.3.40.0190.01624.38
8.3.30.0200.00724.38
8.3.20.0030.01025.87
8.3.10.0070.00729.32
8.3.00.0100.00325.63
8.2.190.0120.01524.25
8.2.180.0200.00724.50
8.2.170.0260.00724.51
8.2.160.0120.01225.21
8.2.150.0060.00624.33
8.2.140.0030.01026.17
8.2.130.0040.01123.88
8.2.120.0100.00328.01
8.2.110.0100.02326.13
8.2.100.0130.00624.29
8.2.90.0070.00724.92
8.2.80.0080.00623.88
8.2.70.0030.01023.74
8.2.60.0060.00924.05
8.2.50.0050.00823.75
8.2.40.0030.01125.50
8.2.30.0030.01026.30
8.2.20.0000.01823.76
8.2.10.0030.01024.17
8.2.00.0070.00724.13
8.1.280.0140.01825.92
8.1.270.0090.00629.61
8.1.260.0100.00327.80
8.1.250.0060.00628.09
8.1.240.0100.00728.27
8.1.230.0100.01024.01
8.1.220.0110.00323.79
8.1.210.0100.00323.48
8.1.200.0090.00623.35
8.1.190.0070.00723.48
8.1.180.0050.00823.64
8.1.170.0110.00325.09
8.1.160.0030.01027.57
8.1.150.0030.01024.41
8.1.140.0100.00325.66
8.1.130.0060.00623.95
8.1.120.0070.00723.72
8.1.110.0000.01323.61
8.1.100.0030.01023.70
8.1.90.0070.00723.59
8.1.80.0030.01323.58
8.1.70.0000.01423.68
8.1.60.0040.01123.61
8.1.50.0040.01423.76
8.1.40.0040.01123.76
8.1.30.0070.00723.95
8.1.20.0030.01423.87
8.1.10.0000.01523.86
8.1.00.0000.01423.69
8.0.300.0100.00323.16
8.0.290.0030.01022.88
8.0.280.0000.01324.16
8.0.270.0030.01023.43
8.0.260.0000.01223.33
8.0.250.0070.00723.35
8.0.240.0030.01023.16
8.0.230.0070.00723.16
8.0.220.0070.00723.07
8.0.210.0100.00723.14
8.0.200.0030.01023.13
8.0.190.0060.00823.04
8.0.180.0000.01323.16
8.0.170.0000.01423.24
8.0.160.0030.01023.28
8.0.150.0060.00722.82
8.0.140.0080.01223.11
8.0.130.0000.00513.33
8.0.120.0040.01123.12
8.0.110.0030.01023.18
8.0.100.0000.01423.26
8.0.90.0030.01022.92
8.0.80.0100.02023.27
8.0.70.0030.01023.23
8.0.60.0040.01123.13
8.0.50.0070.00723.01
8.0.30.0210.00723.36
8.0.20.0140.01923.45
8.0.10.0030.01023.32
8.0.00.0160.01723.15
7.4.330.0020.00216.70
7.4.320.0000.01422.87
7.4.300.0060.00622.93
7.4.290.0000.01322.86
7.4.280.0060.00922.83
7.4.270.0070.00722.80
7.4.260.0070.00722.89
7.4.250.0140.00022.83
7.4.240.0050.00822.86
7.4.230.0070.00723.03
7.4.220.0100.02322.64
7.4.210.0120.01622.99
7.4.200.0030.01022.75
7.4.160.0040.02822.80
7.4.150.0150.02522.74
7.4.140.0180.02322.80
7.4.130.0190.02022.83
7.4.120.0140.02022.78
7.4.110.0130.02722.88
7.4.100.0210.02722.85
7.4.90.0180.01522.98
7.4.80.0160.02322.91
7.4.70.0190.01322.75
7.4.60.0070.02322.73
7.4.50.0170.00722.89
7.4.40.0160.02022.77
7.4.30.0090.02222.79
7.4.00.0070.01421.20
7.3.330.0050.00013.10
7.3.320.0060.00013.07
7.3.310.0000.01222.38
7.3.300.0130.00022.54
7.3.290.0120.01722.47
7.3.280.0220.01822.49
7.3.270.0560.05622.56
7.3.260.0100.02322.71
7.3.250.0200.01222.68
7.3.240.0150.01722.76
7.3.230.0220.01022.58
7.3.210.0160.02922.54
7.3.200.0150.02822.86
7.3.190.0200.02322.36
7.3.180.0090.02222.57
7.3.170.0140.02822.37
7.3.160.0120.02422.50
7.2.330.0120.02222.98
7.2.320.0130.01922.96
7.2.310.0170.01723.05
7.2.300.0110.02122.72
7.2.290.0260.01822.94
7.1.70.0040.02223.24
7.1.60.0030.03223.56
7.1.50.0120.02723.35
7.1.00.0130.07728.59
7.0.200.0170.01422.64
7.0.100.0100.05326.34
7.0.90.0370.06326.34
7.0.80.0300.06026.31
7.0.70.0100.06726.43
7.0.60.0430.08026.41
7.0.50.0170.07326.59
7.0.40.0130.04726.41
7.0.30.0200.09726.45
7.0.20.0100.07726.46
7.0.10.0030.05326.43
7.0.00.0130.06026.43
5.6.280.0100.07027.36
5.6.250.0130.09326.99
5.6.240.0230.07326.82
5.6.230.0130.06026.81
5.6.220.0130.05026.88
5.6.210.0030.07026.78
5.6.200.0170.08327.46
5.6.190.0070.05327.47
5.6.180.0130.08327.31
5.6.170.0130.09027.52
5.6.160.0170.08727.50
5.6.150.0030.07027.33
5.6.140.0100.08327.40
5.6.130.0270.08327.08
5.6.120.0130.04727.31
5.6.110.0100.06327.30
5.6.100.0030.08327.43
5.6.90.0100.05727.38
5.6.80.0070.08326.68
5.6.70.0070.04726.56
5.6.60.0100.08026.55
5.6.50.0000.07026.57
5.6.40.0070.08326.67
5.6.30.0100.08026.86
5.6.20.0100.05326.41
5.6.10.0070.07326.51
5.6.00.0130.08326.39
5.5.380.0270.04026.86
5.5.370.0030.08326.83
5.5.360.0100.09326.69
5.5.350.0070.08026.78
5.5.340.0030.05027.10
5.5.330.0100.08726.89
5.5.320.0130.08327.07
5.5.310.0130.09326.76
5.5.300.0130.06726.99
5.5.290.0070.10026.93
5.5.280.0070.09726.71
5.5.270.0130.07027.24
5.5.260.0130.04027.18
5.5.250.0100.09726.93
5.5.240.0030.05026.46
5.5.230.0070.04326.56
5.5.220.0070.06326.59
5.5.210.0000.08726.30
5.5.200.0100.04326.59
5.5.190.0170.05326.23
5.5.180.0070.08026.59
5.5.160.0070.08726.57
5.5.150.0070.08726.56
5.5.140.0030.08326.23
5.5.130.0130.08026.56
5.5.120.0100.07326.28
5.5.110.0130.07726.57
5.5.100.0100.06326.14
5.5.90.0070.09726.22
5.5.80.0070.08326.32
5.5.70.0070.05326.18
5.5.60.0070.09026.36
5.5.50.0070.08726.25
5.5.40.0000.08026.52
5.5.30.0070.09026.50
5.5.20.0100.08726.28
5.5.10.0030.04726.27
5.5.00.0200.08026.25

preferences:
42.64 ms | 401 KiB | 5 Q