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

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.70.0100.01724.13
8.3.60.0200.00724.50
8.3.50.0170.01825.82
8.3.40.0160.01324.42
8.3.30.0060.01924.38
8.3.20.0100.00325.82
8.3.10.0140.00029.48
8.3.00.0140.00025.50
8.2.190.0230.00624.25
8.2.180.0210.01125.92
8.2.170.0220.01224.41
8.2.160.0110.01826.34
8.2.150.0030.00924.52
8.2.140.0130.00026.27
8.2.130.0170.00025.38
8.2.120.0030.00928.01
8.2.110.0060.00927.20
8.2.100.0150.00426.14
8.2.90.0090.00625.07
8.2.80.0070.00724.18
8.2.70.0060.00924.18
8.2.60.0070.00724.18
8.2.50.0000.01523.74
8.2.40.0060.00826.34
8.2.30.0000.01426.57
8.2.20.0100.01023.91
8.2.10.0030.01024.26
8.2.00.0030.01024.13
8.1.280.0160.01025.92
8.1.270.0060.01229.50
8.1.260.0130.00028.09
8.1.250.0100.00328.09
8.1.240.0120.00327.95
8.1.230.0100.01027.13
8.1.220.0060.00823.90
8.1.210.0070.00723.48
8.1.200.0070.01023.47
8.1.190.0070.00723.23
8.1.180.0030.01223.65
8.1.170.0030.01024.95
8.1.160.0060.00627.84
8.1.150.0110.00424.36
8.1.140.0030.01225.78
8.1.130.0000.01323.89
8.1.120.0000.01323.74
8.1.110.0100.00323.54
8.1.100.0000.01323.55
8.1.90.0070.00723.46
8.1.80.0070.00723.69
8.1.70.0070.00723.64
8.1.60.0040.01223.55
8.1.50.0070.00723.52
8.1.40.0040.01123.76
8.1.30.0030.01123.84
8.1.20.0030.01023.86
8.1.10.0060.00823.96
8.1.00.0070.00723.79
8.0.300.0070.00725.40
8.0.290.0030.01023.00
8.0.280.0060.00624.09
8.0.270.0030.01023.61
8.0.260.0110.00323.36
8.0.250.0030.01023.30
8.0.240.0000.01323.39
8.0.230.0040.01123.25
8.0.220.0110.00323.12
8.0.210.0070.00723.04
8.0.200.0100.00323.13
8.0.190.0070.00723.14
8.0.180.0120.00323.13
8.0.170.0070.00723.25
8.0.160.0080.00822.95
8.0.150.0070.00722.93
8.0.140.0060.00923.09
8.0.130.0060.00013.31
8.0.120.0080.00623.11
8.0.110.0000.01423.15
8.0.100.0040.01123.23
8.0.90.0000.01423.24
8.0.80.0100.01623.13
8.0.70.0030.01023.14
8.0.60.0070.00722.98
8.0.50.0070.00723.11
8.0.30.0100.01823.34
8.0.20.0170.01723.44
8.0.10.0070.01023.09
8.0.00.0140.01923.07
7.4.330.0050.00016.67
7.4.320.0030.00922.84
7.4.300.0030.01022.87
7.4.290.0030.00922.82
7.4.280.0100.00323.03
7.4.270.0070.00722.84
7.4.260.0040.00822.99
7.4.250.0070.01022.81
7.4.240.0010.01222.81
7.4.230.0070.00723.12
7.4.220.0100.02722.96
7.4.210.0100.01623.04
7.4.200.0070.00722.93
7.4.160.0220.02222.77
7.4.150.0150.01622.48
7.4.140.0130.02822.66
7.4.130.0160.03622.76
7.4.120.0190.01722.79
7.4.110.0200.02622.96
7.4.100.0130.02322.85
7.4.90.0200.02622.68
7.4.80.0220.01622.77
7.4.70.0170.02122.66
7.4.60.0260.00622.68
7.4.50.0070.01822.91
7.4.40.0170.02422.81
7.4.30.0160.02922.66
7.3.330.0060.00013.10
7.3.320.0030.00313.02
7.3.310.0030.01222.54
7.3.300.0070.00722.27
7.3.290.0080.01922.43
7.3.280.0150.01722.47
7.3.270.0090.02122.67
7.3.260.0220.01122.52
7.3.250.0180.01822.61
7.3.240.0160.02122.62
7.3.230.0040.02822.82
7.3.210.0200.01322.56
7.3.200.0190.02222.78
7.3.190.0220.02522.57
7.3.180.0060.02422.40
7.3.170.0200.01322.80
7.3.160.0310.01222.73
7.2.330.0130.01922.93
7.2.320.0260.00823.00
7.2.310.0060.02822.80
7.2.300.0280.02222.79
7.2.290.0200.01322.76

preferences:
50.26 ms | 401 KiB | 5 Q