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

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.0170.02024.25
8.3.50.0130.02325.75
8.3.40.0090.01624.23
8.3.30.0070.01724.34
8.3.20.0070.00725.85
8.3.10.0090.00429.41
8.3.00.0000.01425.38
8.2.180.0140.01424.25
8.2.170.0210.01024.71
8.2.160.0140.01724.79
8.2.150.0100.00324.47
8.2.140.0060.00626.07
8.2.130.0070.00723.62
8.2.120.0070.00726.35
8.2.110.0120.00426.26
8.2.100.0100.01024.18
8.2.90.0050.01024.80
8.2.80.0000.01423.75
8.2.70.0090.00623.88
8.2.60.0040.01124.18
8.2.50.0040.01123.88
8.2.40.0030.01025.44
8.2.30.0000.01326.50
8.2.20.0070.01023.90
8.2.10.0030.01024.31
8.2.00.0000.01324.10
8.1.280.0200.00725.92
8.1.270.0120.00329.37
8.1.260.0030.01026.35
8.1.250.0200.01328.09
8.1.240.0060.01028.27
8.1.230.0030.01623.91
8.1.220.0070.00723.79
8.1.210.0040.01123.61
8.1.200.0040.01223.47
8.1.190.0060.00823.48
8.1.180.0030.01023.66
8.1.170.0000.01626.65
8.1.160.0070.00727.57
8.1.150.0060.00624.55
8.1.140.0040.01125.68
8.1.130.0000.01323.94
8.1.120.0000.01323.70
8.1.110.0100.00323.61
8.1.100.0030.01023.48
8.1.90.0030.01023.65
8.1.80.0040.01123.63
8.1.70.0100.00323.54
8.1.60.0030.01223.86
8.1.50.0070.01423.68
8.1.40.0040.01123.66
8.1.30.0000.01424.00
8.1.20.0140.00323.91
8.1.10.0000.01523.89
8.1.00.0110.00423.78
8.0.300.0000.01524.96
8.0.290.0030.01022.88
8.0.280.0060.00624.14
8.0.270.0030.01023.44
8.0.260.0040.00823.45
8.0.250.0000.01323.26
8.0.240.0030.00923.29
8.0.230.0000.01423.16
8.0.220.0090.00623.11
8.0.210.0040.01222.99
8.0.200.0070.00723.05
8.0.190.0000.01423.16
8.0.180.0110.00323.27
8.0.170.0060.00923.34
8.0.160.0040.01123.08
8.0.150.0070.00722.86
8.0.140.0080.01123.26
8.0.130.0050.00013.31
8.0.120.0000.01523.03
8.0.110.0050.00823.23
8.0.100.0100.00323.07
8.0.90.0030.01023.23
8.0.80.0180.02123.11
8.0.70.0060.00823.23
8.0.60.0030.01023.27
8.0.50.0070.00723.12
8.0.30.0130.01823.46
8.0.20.0140.02623.40
8.0.10.0000.01423.05
8.0.00.0150.01923.00
7.4.330.0000.00516.83
7.4.320.0030.01222.97
7.4.300.0060.00622.93
7.4.290.0060.00822.99
7.4.280.0070.00722.96
7.4.270.0000.01322.88
7.4.260.0090.00922.98
7.4.250.0040.01122.84
7.4.240.0080.00522.93
7.4.230.0060.00622.67
7.4.220.0100.03022.86
7.4.210.0180.00922.73
7.4.200.0100.00322.96
7.4.160.0070.02122.47
7.4.150.0140.01722.66
7.4.140.0180.02622.80
7.4.130.0150.02222.62
7.4.120.0120.02422.89
7.4.110.0220.01222.82
7.4.100.0130.02022.66
7.4.90.0110.02222.67
7.4.80.0140.01722.91
7.4.70.0130.02622.79
7.4.60.0130.01922.78
7.4.50.0060.01922.85
7.4.40.0100.02122.88
7.4.30.0110.02122.77
7.4.00.0040.02121.09
7.3.330.0020.00213.02
7.3.320.0000.00513.25
7.3.310.0000.01322.57
7.3.300.0060.00622.36
7.3.290.0100.02122.42
7.3.280.0140.01722.48
7.3.270.0270.01822.56
7.3.260.0130.01922.47
7.3.250.0150.02022.40
7.3.240.0150.02322.50
7.3.230.0210.01022.34
7.3.210.0070.03222.58
7.3.200.0100.02022.43
7.3.190.0220.01822.36
7.3.180.0070.02122.73
7.3.170.0090.02422.48
7.3.160.0160.02022.50
7.3.10.0090.01222.64
7.3.00.0110.01122.37
7.2.330.0160.02622.84
7.2.320.0160.01622.93
7.2.310.0190.01622.54
7.2.300.0160.01622.84
7.2.290.0060.02622.89
7.2.130.0100.01323.01
7.2.120.0040.01722.93
7.2.110.0100.01023.03
7.2.100.0160.00323.02
7.2.90.0130.00622.97
7.2.80.0030.01322.77
7.2.70.0070.01023.31
7.2.60.0090.01322.95
7.2.50.0060.01623.04
7.2.40.0060.01323.01
7.2.30.0100.00722.77
7.2.20.0080.01523.29
7.2.10.0070.01422.83
7.2.00.0070.01224.28
7.1.250.0000.01621.93
7.1.200.0120.00921.79
7.1.100.0030.01624.36
7.1.70.0090.00423.41
7.1.60.0180.02223.68
7.1.50.0190.01223.15
7.1.00.0070.08028.53
7.0.200.0200.01023.00
7.0.60.0070.04726.34
7.0.50.0070.08317.86
7.0.40.0030.05326.02
7.0.30.0270.07725.89
7.0.20.0370.08325.87
7.0.10.0100.07326.68
7.0.00.0070.07726.07
5.6.280.0070.03727.23
5.6.210.0000.09326.84
5.6.200.0070.08018.21
5.6.190.0100.08726.53
5.6.180.0300.05726.66
5.6.170.0300.06726.40
5.6.160.0000.07726.55
5.6.150.0070.08018.10
5.6.140.0070.07718.20
5.6.130.0100.06718.21
5.6.120.0100.04027.48
5.6.110.0130.07327.30
5.6.100.0130.05027.20
5.6.90.0170.09027.54
5.6.80.0130.03726.70
5.5.350.4270.06026.75
5.5.340.0070.04317.91
5.5.330.0170.04026.22
5.5.320.0200.08726.48
5.5.310.0200.08026.42
5.5.300.0070.04318.02
5.5.290.0100.07317.97
5.5.280.0000.05327.13
5.5.270.0100.05727.18
5.5.260.0100.09727.02
5.5.250.0230.07726.70
5.5.240.0370.07326.60

preferences:
75.26 ms | 401 KiB | 5 Q