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

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.0160.01924.32
8.3.30.0140.01024.17
8.3.20.0100.00326.01
8.3.10.0060.00629.23
8.3.00.0070.00725.51
8.2.170.0070.01724.70
8.2.160.0070.01626.03
8.2.150.0100.00324.66
8.2.140.0030.01026.13
8.2.130.0060.00923.63
8.2.120.0030.01028.05
8.2.110.0150.01226.00
8.2.100.0070.01124.18
8.2.90.0110.00324.80
8.2.80.0000.01423.88
8.2.70.0060.00923.88
8.2.60.0000.01424.18
8.2.50.0060.00823.75
8.2.40.0060.00925.64
8.2.30.0000.01426.34
8.2.20.0100.00723.82
8.2.10.0070.00724.24
8.2.00.0030.01024.12
8.1.270.0030.01329.58
8.1.260.0060.00628.09
8.1.250.0100.00328.09
8.1.240.0070.01029.63
8.1.230.0100.01023.66
8.1.220.0100.00323.91
8.1.210.0130.00623.48
8.1.200.0030.01223.38
8.1.190.0000.01423.35
8.1.180.0090.00623.66
8.1.170.0030.01026.66
8.1.160.0060.00927.73
8.1.150.0040.00924.52
8.1.140.0000.01425.77
8.1.130.0060.00623.78
8.1.120.0030.01023.70
8.1.110.0000.01323.66
8.1.100.0000.01423.74
8.1.90.0100.00323.61
8.1.80.0100.00323.66
8.1.70.0040.00923.63
8.1.60.0000.01423.80
8.1.50.0040.01123.66
8.1.40.0030.01123.57
8.1.30.0070.00724.04
8.1.20.0030.01023.94
8.1.10.0080.00623.71
8.1.00.0130.00023.78
8.0.300.0040.01122.97
8.0.290.0000.01323.13
8.0.280.0060.00624.16
8.0.270.0000.01423.40
8.0.260.0030.00923.45
8.0.250.0040.00823.28
8.0.240.0030.01023.24
8.0.230.0060.00623.13
8.0.220.0070.00723.06
8.0.210.0110.00323.08
8.0.200.0030.00923.07
8.0.190.0090.00623.15
8.0.180.0040.01123.18
8.0.170.0120.00323.28
8.0.160.0070.00722.94
8.0.150.0000.01322.91
8.0.140.0070.00723.24
8.0.130.0000.00513.35
8.0.120.0150.00023.01
8.0.110.0000.01323.21
8.0.100.0030.01022.96
8.0.90.0000.01523.05
8.0.80.0100.01923.21
8.0.70.0030.01023.04
8.0.60.0070.00722.88
8.0.50.0030.01023.09
8.0.30.0100.01823.29
8.0.20.0150.02323.38
8.0.10.0090.00423.05
8.0.00.0210.02223.03
7.4.330.0000.00516.67
7.4.320.0000.01222.78
7.4.300.0060.00622.79
7.4.290.0040.01122.97
7.4.280.0100.00623.03
7.4.270.0030.00922.78
7.4.260.0060.00922.97
7.4.250.0000.01422.91
7.4.240.0050.00822.89
7.4.230.0100.00322.96
7.4.220.0160.01722.89
7.4.210.0070.02022.76
7.4.200.0070.00722.85
7.4.160.0040.02522.68
7.4.150.0140.02622.88
7.4.140.0230.01722.81
7.4.130.0110.02322.66
7.4.120.0140.02122.87
7.4.110.0180.01522.63
7.4.100.0140.02122.86
7.4.90.0190.01622.98
7.4.80.0100.02122.66
7.4.70.0160.01922.83
7.4.60.0170.01322.67
7.4.50.0060.01622.64
7.4.40.0100.02322.77
7.4.30.0090.02522.82
7.4.00.0060.01621.12
7.3.330.0030.00313.17
7.3.320.0000.00513.02
7.3.310.0000.01322.56
7.3.300.0100.00322.48
7.3.290.0160.01322.42
7.3.280.0140.01722.50
7.3.270.0140.01722.69
7.3.260.0130.02022.99
7.3.250.0090.02222.61
7.3.240.0100.02322.72
7.3.230.0060.02522.81
7.3.210.0200.01322.82
7.3.200.0220.01522.63
7.3.190.0260.04522.83
7.3.180.0140.01722.79
7.3.170.0100.02122.59
7.3.160.0210.02522.80
7.2.330.0210.01222.95
7.2.320.0250.02222.71
7.2.310.0220.02222.99
7.2.300.0170.02422.76
7.2.290.0100.02323.06
7.2.60.0070.01422.82
7.2.00.0070.01525.59
7.1.200.0090.01222.17
7.1.100.0070.01424.29
7.1.70.0060.01223.38
7.1.60.0130.01923.71
7.1.50.0160.01923.27
7.1.00.0030.08728.85
7.0.200.0630.01721.24
7.0.60.0300.07026.46
7.0.50.0070.04017.90
7.0.40.0100.08726.16
7.0.30.0330.08026.07
7.0.20.0500.07326.10
7.0.10.0030.06725.99
7.0.00.0100.05725.98
5.6.280.0000.06727.23
5.6.210.0030.09326.93
5.6.200.0130.07718.15
5.6.190.0100.09026.56
5.6.180.0370.08326.66
5.6.170.0330.03326.40
5.6.160.0030.06726.48
5.6.150.0070.08018.21
5.6.140.0070.06318.20
5.6.130.0100.08718.08
5.6.120.0100.04727.37
5.6.110.0030.06027.29
5.6.100.0170.05027.31
5.6.90.0200.08727.25
5.6.80.0100.08326.96
5.5.350.3930.04726.73
5.5.340.0070.03717.91
5.5.330.0070.04326.47
5.5.320.0100.03726.39
5.5.310.0270.08326.38
5.5.300.0070.05017.92
5.5.290.0100.07718.02
5.5.280.0100.08727.04
5.5.270.0000.05327.05
5.5.260.0030.08326.92
5.5.250.0170.05727.06
5.5.240.0300.07726.61

preferences:
50.16 ms | 400 KiB | 5 Q