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

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.01324.25
8.3.50.0180.01125.67
8.3.40.0170.01324.36
8.3.30.0120.01224.22
8.3.20.0040.00926.02
8.3.10.0080.00629.20
8.3.00.0040.01125.51
8.2.180.0200.01326.17
8.2.170.0100.01424.66
8.2.160.0230.00026.01
8.2.150.0130.00024.43
8.2.140.0090.00326.10
8.2.130.0110.00423.75
8.2.120.0060.00627.98
8.2.110.0120.00628.00
8.2.100.0190.00024.18
8.2.90.0000.01424.83
8.2.80.0040.01123.75
8.2.70.0110.01123.47
8.2.60.0090.00624.28
8.2.50.0030.01323.75
8.2.40.0030.01025.70
8.2.30.0100.00326.55
8.2.20.0100.00724.00
8.2.10.0040.01124.25
8.2.00.0040.01124.27
8.1.280.0180.00925.92
8.1.270.0030.01329.59
8.1.260.0000.01428.09
8.1.250.0100.00328.09
8.1.240.0100.00728.41
8.1.230.0110.00723.91
8.1.220.0000.01423.91
8.1.210.0030.01023.48
8.1.200.0100.00623.25
8.1.190.0040.01123.10
8.1.180.0000.01323.64
8.1.170.0070.00724.78
8.1.160.0110.00327.75
8.1.150.0070.00724.51
8.1.140.0040.01125.80
8.1.130.0030.01023.83
8.1.120.0060.00623.66
8.1.110.0130.00023.68
8.1.100.0100.00323.59
8.1.90.0030.01023.55
8.1.80.0060.00923.68
8.1.70.0030.01023.64
8.1.60.0070.00723.67
8.1.50.0060.00923.70
8.1.40.0090.00623.69
8.1.30.0070.00724.00
8.1.20.0060.01024.02
8.1.10.0090.00623.86
8.1.00.0070.00723.73
8.0.300.0100.00323.09
8.0.290.0030.01023.00
8.0.280.0060.00624.09
8.0.270.0070.00723.41
8.0.260.0070.00723.56
8.0.250.0080.00423.28
8.0.240.0070.00723.21
8.0.230.0110.00423.18
8.0.220.0030.01022.98
8.0.210.0000.01322.95
8.0.200.0060.00623.14
8.0.190.0040.01123.18
8.0.180.0070.00723.16
8.0.170.0000.01423.14
8.0.160.0100.00322.96
8.0.150.0060.00923.20
8.0.140.0050.00823.13
8.0.130.0060.00013.32
8.0.120.0040.01123.08
8.0.110.0030.01023.12
8.0.100.0030.01023.22
8.0.90.0000.01323.04
8.0.80.0130.01323.20
8.0.70.0050.00823.24
8.0.60.0000.01423.00
8.0.50.0030.01023.08
8.0.30.0080.02223.22
8.0.20.0240.02523.34
8.0.10.0080.00523.21
8.0.00.0140.01923.04
7.4.330.0000.00516.84
7.4.320.0000.01322.86
7.4.300.0030.00922.81
7.4.290.0030.00922.85
7.4.280.0100.00322.70
7.4.270.0060.00622.73
7.4.260.0000.01322.83
7.4.250.0060.00922.93
7.4.240.0030.01122.87
7.4.230.0070.00723.08
7.4.220.0190.01322.85
7.4.210.0070.01922.77
7.4.200.0100.00323.02
7.4.160.0200.01022.85
7.4.150.0190.05322.77
7.4.140.0140.01522.65
7.4.130.0070.02622.88
7.4.120.0180.01422.82
7.4.110.0200.01322.81
7.4.100.0190.01622.68
7.4.90.0210.01522.74
7.4.80.0250.02122.82
7.4.70.0130.02022.69
7.4.60.0090.02222.69
7.4.50.0100.01422.65
7.4.40.0190.01322.61
7.4.30.0190.01322.92
7.4.00.0140.01221.14
7.3.330.0040.00312.98
7.3.320.0030.00313.14
7.3.310.0000.01322.37
7.3.300.0080.00622.48
7.3.290.0140.01422.43
7.3.280.0090.02922.50
7.3.270.0140.02122.63
7.3.260.0120.03122.41
7.3.250.0210.02022.60
7.3.240.0150.02422.63
7.3.230.0180.02522.55
7.3.210.0160.01622.56
7.3.200.0160.01922.86
7.3.190.0250.01922.41
7.3.180.0060.02622.56
7.3.170.0110.02122.53
7.3.160.0130.02922.41
7.3.120.0100.02120.89
7.3.110.0040.02520.95
7.3.100.0150.00920.89
7.3.90.0060.01220.99
7.3.80.0030.01921.26
7.3.70.0030.02220.72
7.3.60.0140.01721.09
7.3.50.0130.01321.08
7.3.40.0060.01620.89
7.3.30.0030.01920.77
7.3.20.0130.01322.36
7.3.10.0070.01722.54
7.3.00.0060.01922.58
7.2.330.0220.02522.89
7.2.320.0190.01222.90
7.2.310.0100.02222.88
7.2.300.0140.02322.85
7.2.290.0110.02222.74
7.2.250.0100.02020.93
7.2.240.0100.01020.91
7.2.230.0090.01521.06
7.2.220.0090.00921.08
7.2.210.0070.01320.98
7.2.200.0030.02021.37
7.2.190.0030.02021.13
7.2.180.0040.01420.99
7.2.170.0070.01021.20
7.2.60.0130.00622.73
7.2.00.0070.01425.51
7.1.330.0040.01821.91
7.1.320.0190.00422.09
7.1.310.0100.01322.05
7.1.300.0120.00922.11
7.1.290.0130.01021.87
7.1.280.0110.01121.70
7.1.270.0030.01621.83
7.1.260.0070.01921.93
7.1.200.0040.01521.98
7.1.100.0040.01824.39
7.1.70.0030.01323.41
7.1.60.0160.01923.71
7.1.50.0130.01922.95
7.1.00.0070.08028.49
7.0.200.1940.01020.97
7.0.60.0130.05026.26
7.0.50.0100.07017.89
7.0.40.0200.08326.10
7.0.30.0230.08326.08
7.0.20.0530.06325.82
7.0.10.0130.08325.88
7.0.00.0030.09325.90
5.6.280.0070.06727.10
5.6.210.0030.09326.96
5.6.200.0130.07318.18
5.6.190.0000.06726.52
5.6.180.0400.07726.63
5.6.170.0330.08026.86
5.6.160.0030.09326.57
5.6.150.0070.06718.16
5.6.140.0070.05318.19
5.6.130.0070.08318.11
5.6.120.0070.04327.16
5.6.110.0200.06727.06
5.6.100.0100.06327.31
5.6.90.0100.06727.35
5.6.80.0030.04726.65
5.5.350.3930.05026.61
5.5.340.0130.03017.97
5.5.330.0070.08026.34
5.5.320.0130.06026.37
5.5.310.0070.06326.26
5.5.300.0070.08718.00
5.5.290.0200.07017.88
5.5.280.0070.10327.16
5.5.270.0100.04027.01
5.5.260.0100.06327.32
5.5.250.0100.07026.79
5.5.240.0430.07326.61

preferences:
55.58 ms | 400 KiB | 5 Q