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

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.0160.01624.25
8.3.50.0140.02625.88
8.3.40.0180.00724.42
8.3.30.0120.01224.08
8.3.20.0030.01025.89
8.3.10.0070.00729.17
8.3.00.0030.01025.38
8.2.180.0180.02125.91
8.2.170.0120.01224.66
8.2.160.0140.01025.91
8.2.150.0060.00624.47
8.2.140.0070.00726.27
8.2.130.0110.00423.63
8.2.120.0060.00627.82
8.2.110.0090.00626.10
8.2.100.0110.00724.18
8.2.90.0030.01024.83
8.2.80.0030.01223.88
8.2.70.0160.00823.38
8.2.60.0060.01524.05
8.2.50.0030.01323.88
8.2.40.0070.00725.55
8.2.30.0000.01326.40
8.2.20.0000.01423.79
8.2.10.0100.00324.30
8.2.00.0110.00324.13
8.1.280.0200.00725.92
8.1.270.0090.00929.59
8.1.260.0070.00728.09
8.1.250.0100.00328.09
8.1.240.0160.00628.15
8.1.230.0130.00623.66
8.1.220.0030.01023.79
8.1.210.0090.00623.48
8.1.200.0040.01123.48
8.1.190.0000.01423.13
8.1.180.0030.01023.78
8.1.170.0110.00324.84
8.1.160.0000.01427.57
8.1.150.0000.01324.53
8.1.140.0030.01225.87
8.1.130.0000.01323.87
8.1.120.0030.01023.75
8.1.110.0030.01023.61
8.1.100.0030.01223.55
8.1.90.0100.00323.74
8.1.80.0030.01023.66
8.1.70.0040.00823.62
8.1.60.0030.01223.81
8.1.50.0070.00723.61
8.1.40.0000.01423.66
8.1.30.0070.00723.87
8.1.20.0030.01023.92
8.1.10.0030.01023.78
8.1.00.0040.01123.67
8.0.300.0070.00723.10
8.0.290.0070.00723.00
8.0.280.0030.01024.11
8.0.270.0060.00623.38
8.0.260.0000.01223.37
8.0.250.0000.01423.22
8.0.240.0100.00323.14
8.0.230.0070.00723.16
8.0.220.0030.01023.12
8.0.210.0060.00722.99
8.0.200.0030.00923.08
8.0.190.0030.01023.25
8.0.180.0070.00723.26
8.0.170.0110.00723.09
8.0.160.0030.01023.18
8.0.150.0070.00722.82
8.0.140.0040.01123.24
8.0.130.0030.00313.30
8.0.120.0090.00623.18
8.0.110.0030.01022.95
8.0.100.0070.00722.97
8.0.90.0030.01023.05
8.0.80.0100.01723.10
8.0.70.0040.01222.98
8.0.60.0100.00323.23
8.0.50.0030.01023.02
8.0.30.0090.02123.24
8.0.20.0210.02423.41
8.0.10.0090.00923.34
8.0.00.0100.02123.01
7.4.330.0020.00216.84
7.4.320.0030.01022.93
7.4.300.0000.01322.86
7.4.290.0030.01022.87
7.4.280.0030.01322.87
7.4.270.0100.00322.82
7.4.260.0070.00723.00
7.4.250.0000.01422.67
7.4.240.0020.01122.96
7.4.230.0040.00922.71
7.4.220.0120.02222.81
7.4.210.0120.01522.97
7.4.200.0030.01022.96
7.4.160.0180.01822.72
7.4.150.0150.01922.64
7.4.140.0220.04022.90
7.4.130.0190.02122.90
7.4.120.0140.02622.89
7.4.110.0100.02222.84
7.4.100.0210.01822.77
7.4.90.0160.01622.59
7.4.80.0070.02622.71
7.4.70.0100.02322.71
7.4.60.0140.01722.84
7.4.50.0030.02022.67
7.4.40.0100.03022.80
7.4.30.0210.01022.91
7.4.00.0030.01721.21
7.3.330.0000.00613.08
7.3.320.0020.00213.16
7.3.310.0070.00722.25
7.3.300.0030.01022.47
7.3.290.0100.01722.44
7.3.280.0130.01522.47
7.3.270.0160.01622.75
7.3.260.0130.01922.47
7.3.250.0120.02022.59
7.3.240.0130.02122.47
7.3.230.0110.02222.71
7.3.210.0110.01922.35
7.3.200.0160.01622.62
7.3.190.0200.02022.39
7.3.180.0190.01222.47
7.3.170.0100.02122.77
7.3.160.0070.04022.62
7.3.120.0170.00720.66
7.3.110.0090.01520.75
7.3.100.0070.01720.79
7.3.90.0100.01021.11
7.3.80.0000.02220.58
7.3.70.0070.01320.60
7.3.60.0100.01320.85
7.3.50.0070.01320.80
7.3.40.0100.01020.73
7.3.30.0100.01020.88
7.3.20.0070.01822.59
7.3.10.0100.01222.31
7.3.00.0080.01322.39
7.2.330.0130.01922.65
7.2.320.0200.01722.71
7.2.310.0130.02322.64
7.2.300.0250.02222.91
7.2.290.0150.01522.68
7.2.240.0040.01521.28
7.2.230.0090.01221.09
7.2.220.0150.00620.96
7.2.210.0060.01321.23
7.2.200.0070.01120.92
7.2.190.0090.01220.96
7.2.180.0070.01521.09
7.2.170.0030.02120.99
7.2.160.0040.01921.29
7.2.150.0070.01722.92
7.2.140.0000.02123.28
7.2.130.0080.01522.78
7.2.120.0090.01222.68
7.2.110.0100.01422.72
7.2.100.0110.01222.63
7.2.90.0140.01122.95
7.2.80.0100.01322.91
7.2.70.0100.01422.65
7.2.60.0150.01422.88
7.2.50.0080.01722.93
7.2.40.0060.01522.72
7.2.30.0080.01722.78
7.2.20.0090.01422.70
7.2.10.0090.01522.83
7.2.00.0100.01223.50
7.1.330.0070.01321.89
7.1.320.0070.01421.81
7.1.310.0000.01821.95
7.1.300.0030.01422.00
7.1.290.0000.02422.02
7.1.280.0000.02221.61
7.1.270.0070.01721.62
7.1.260.0060.01821.66
7.1.250.0080.01221.65
7.1.200.0110.01122.19
7.1.100.0030.02124.50
7.1.70.0080.00823.39
7.1.60.0200.01623.60
7.1.50.0100.02623.20
7.1.00.0030.08728.70
7.0.200.0360.02020.96
7.0.60.0200.06326.30
7.0.50.0100.05317.82
7.0.40.0070.05325.90
7.0.30.0330.05026.06
7.0.20.0400.06325.93
7.0.10.0070.04725.90
7.0.00.0170.09026.10
5.6.280.0030.03727.44
5.6.210.0100.07326.84
5.6.200.0030.04718.15
5.6.190.0070.04726.70
5.6.180.0270.04726.56
5.6.170.0270.08726.57
5.6.160.0100.04026.62
5.6.150.0070.06018.21
5.6.140.0070.04018.22
5.6.130.0030.04318.16
5.6.120.0100.07727.31
5.6.110.0170.08327.31
5.6.100.0070.05027.06
5.6.90.0170.08327.55
5.6.80.0100.08726.60
5.5.350.3100.03726.61
5.5.340.0030.04718.00
5.5.330.0000.06326.33
5.5.320.0000.04726.46
5.5.310.0200.05026.40
5.5.300.0000.04318.01
5.5.290.0100.08017.97
5.5.280.0170.08327.03
5.5.270.0070.05727.24
5.5.260.0070.09727.01
5.5.250.0230.04727.00
5.5.240.0400.06726.63

preferences:
38.05 ms | 401 KiB | 5 Q