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

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.0200.01024.38
8.3.50.0130.02025.80
8.3.40.0190.01024.38
8.3.30.0100.01424.12
8.3.20.0030.01025.84
8.3.10.0070.00729.02
8.3.00.0070.00725.38
8.2.180.0250.01325.79
8.2.170.0100.01324.54
8.2.160.0140.01026.27
8.2.150.0000.01424.47
8.2.140.0100.00326.07
8.2.130.0040.01123.50
8.2.120.0030.01027.84
8.2.110.0060.02226.20
8.2.100.0170.00324.29
8.2.90.0090.00624.84
8.2.80.0040.01123.88
8.2.70.0000.01423.75
8.2.60.0000.01424.05
8.2.50.0030.01023.75
8.2.40.0120.00325.46
8.2.30.0090.00626.18
8.2.20.0060.00924.00
8.2.10.0000.01324.11
8.2.00.0000.01424.16
8.1.280.0070.01825.92
8.1.270.0060.00929.71
8.1.260.0030.00928.09
8.1.250.0070.00728.09
8.1.240.0090.00629.59
8.1.230.0070.01324.01
8.1.220.0000.01323.89
8.1.210.0120.00823.61
8.1.200.0060.00923.48
8.1.190.0000.01423.35
8.1.180.0090.00623.53
8.1.170.0070.00726.63
8.1.160.0040.01127.67
8.1.150.0030.01024.48
8.1.140.0040.01025.71
8.1.130.0060.00623.79
8.1.120.0000.01323.61
8.1.110.0070.00723.64
8.1.100.0030.01023.75
8.1.90.0000.01323.61
8.1.80.0070.00723.41
8.1.70.0000.01323.64
8.1.60.0110.00323.72
8.1.50.0000.01523.68
8.1.40.0030.01023.80
8.1.30.0070.00723.74
8.1.20.0070.00723.82
8.1.10.0050.00823.85
8.1.00.0030.01023.73
8.0.300.0030.01024.90
8.0.290.0000.01322.88
8.0.280.0110.00324.17
8.0.270.0070.00723.43
8.0.260.0030.01023.51
8.0.250.0030.01023.25
8.0.240.0100.00323.15
8.0.230.0030.01023.23
8.0.220.0030.01023.12
8.0.210.0040.01122.98
8.0.200.0120.00023.22
8.0.190.0040.01123.08
8.0.180.0000.01423.16
8.0.170.0070.00723.25
8.0.160.0030.01022.82
8.0.150.0040.01122.97
8.0.140.0000.01423.15
8.0.130.0000.00513.28
8.0.120.0040.01122.99
8.0.110.0070.00723.26
8.0.100.0030.01023.15
8.0.90.0000.01323.23
8.0.80.0140.01422.97
8.0.70.0070.00723.11
8.0.60.0070.00723.11
8.0.50.0000.01423.05
8.0.30.0120.01623.41
8.0.20.0180.01623.25
8.0.10.0100.00323.31
8.0.00.0120.02223.10
7.4.330.0000.00516.78
7.4.320.0060.00622.95
7.4.300.0030.00922.87
7.4.290.0000.01322.71
7.4.280.0080.00622.80
7.4.270.0060.00623.05
7.4.260.0070.00722.97
7.4.250.0060.00922.95
7.4.240.0050.00822.86
7.4.230.0030.01022.75
7.4.220.0130.01922.93
7.4.210.0200.00722.88
7.4.200.0080.00622.83
7.4.160.0110.01822.92
7.4.150.0120.02222.52
7.4.140.0150.02922.64
7.4.130.0130.02222.78
7.4.120.0180.01922.89
7.4.110.0130.02022.88
7.4.100.0170.01722.47
7.4.90.0040.02922.63
7.4.80.0160.01722.89
7.4.70.0160.02222.73
7.4.60.0100.02322.64
7.4.50.0170.00322.75
7.4.40.0070.02422.41
7.4.30.0130.01922.82
7.4.00.0090.01521.26
7.3.330.0030.00213.16
7.3.320.0000.00613.14
7.3.310.0000.01322.61
7.3.300.0030.01022.58
7.3.290.0090.02322.44
7.3.280.0130.01622.46
7.3.270.0120.01922.41
7.3.260.0190.01322.78
7.3.250.0190.01722.70
7.3.240.0140.01922.66
7.3.230.0130.01722.43
7.3.210.0100.02122.53
7.3.200.0130.01922.72
7.3.190.0220.02622.41
7.3.180.0070.03122.43
7.3.170.0130.01922.44
7.3.160.0100.03122.74
7.3.120.0130.01920.88
7.3.110.0150.01520.89
7.3.100.0100.01920.71
7.3.90.0090.01221.01
7.3.80.0070.01320.82
7.3.70.0100.01020.78
7.3.60.0070.00821.08
7.3.50.0000.02420.94
7.3.40.0090.01220.92
7.3.30.0100.01321.07
7.3.20.0100.01322.68
7.3.10.0190.00322.32
7.3.00.0070.01322.72
7.2.330.0160.03222.82
7.2.320.0130.01922.47
7.2.310.0180.01822.96
7.2.300.0320.01622.77
7.2.290.0060.02622.79
7.2.250.0000.02521.23
7.2.240.0100.02020.92
7.2.230.0210.00621.05
7.2.220.0090.00921.27
7.2.210.0130.00921.25
7.2.200.0000.01821.25
7.2.190.0000.01721.07
7.2.180.0030.01521.00
7.2.170.0030.01921.10
7.2.60.0120.00922.92
7.2.00.0100.00725.90
7.1.330.0110.01421.89
7.1.320.0090.01921.73
7.1.310.0030.02121.92
7.1.300.0060.01321.78
7.1.290.0030.01921.46
7.1.280.0070.01121.89
7.1.270.0130.01021.55
7.1.260.0090.01221.80
7.1.200.0060.01521.98
7.1.100.0100.01024.49
7.1.70.0060.01023.38
7.1.60.0070.03123.56
7.1.50.0100.02323.21
7.1.00.0070.08328.49
7.0.200.0510.01620.90
7.0.60.0230.07026.22
7.0.50.0100.06717.78
7.0.40.0130.04326.16
7.0.30.0430.08726.01
7.0.20.0370.06726.06
7.0.10.0070.05325.95
7.0.00.0070.06325.99
5.6.280.0030.06327.11
5.6.210.0200.08027.00
5.6.200.0070.05018.18
5.6.190.0070.05726.67
5.6.180.0300.06726.66
5.6.170.0400.06026.41
5.6.160.0000.05026.33
5.6.150.0170.03718.22
5.6.140.0000.05018.20
5.6.130.0000.04718.06
5.6.120.0130.04027.36
5.6.110.0070.09727.44
5.6.100.0130.04727.36
5.6.90.0030.09327.46
5.6.80.0170.08326.95
5.5.350.4000.04726.68
5.5.340.0030.04018.01
5.5.330.0070.04326.27
5.5.320.0030.04726.46
5.5.310.0200.05726.58
5.5.300.0030.05718.02
5.5.290.0070.08017.99
5.5.280.0100.05726.81
5.5.270.0130.07026.89
5.5.260.0130.06727.05
5.5.250.0100.08727.00
5.5.240.0400.06726.35

preferences:
48.24 ms | 400 KiB | 5 Q