3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new NumberFormatter('uk', NumberFormatter::SPELLOUT); $formatter->setTextAttribute(NumberFormatter::DEFAULT_RULESET, "%spellout-ordinal-masculine"); echo $formatter->format(1); ?>

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.00719.75
8.3.50.0200.01123.48
8.3.40.0090.00620.76
8.3.30.0090.00920.73
8.3.20.0000.00822.21
8.3.10.0080.00025.48
8.3.00.0030.00621.47
8.2.180.0070.01019.48
8.2.170.0090.00922.96
8.2.160.0120.00322.49
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0030.00620.00
8.2.120.0080.00026.35
8.2.110.0110.00723.56
8.2.100.0060.00620.16
8.2.90.0080.00020.59
8.2.80.0030.00620.00
8.2.70.0030.00620.30
8.2.60.0030.00620.28
8.2.50.0080.00020.30
8.2.40.0050.00522.34
8.2.30.0030.00622.58
8.2.20.0090.00319.94
8.2.10.0040.00420.38
8.2.00.0040.00420.35
8.1.280.0100.00625.92
8.1.270.0070.00325.97
8.1.260.0060.00326.35
8.1.250.0090.00628.09
8.1.240.0070.00723.93
8.1.230.0060.00623.27
8.1.220.0040.00520.00
8.1.210.0080.00420.72
8.1.200.0060.00319.60
8.1.190.0000.01019.50
8.1.180.0030.00619.48
8.1.170.0060.00320.96
8.1.160.0040.00423.71
8.1.150.0060.00320.72
8.1.140.0110.00621.91
8.1.130.0050.00319.87
8.1.120.0000.00820.00
8.1.110.0040.00419.86
8.1.100.0040.00719.97
8.1.90.0000.00819.93
8.1.80.0040.00420.00
8.1.70.0000.00719.88
8.1.60.0180.00320.00
8.1.50.0170.00619.88
8.1.40.0000.01019.67
8.1.30.0000.00820.07
8.1.20.0050.00319.97
8.1.10.0030.00620.12
8.1.00.0040.00420.01
8.0.300.0060.00321.90
8.0.290.0110.00418.75
8.0.280.0040.00420.28
8.0.270.0070.00219.50
8.0.260.0070.00019.50
8.0.250.0080.00019.32
8.0.240.0040.00419.24
8.0.230.0030.00519.27
8.0.220.0040.00419.14
8.0.210.0040.01119.03
8.0.200.0030.00519.14
8.0.190.0000.00819.14
8.0.180.0060.00319.23
8.0.170.0060.01118.98
8.0.160.0120.00919.09
8.0.150.0080.00018.96
8.0.140.0000.01019.13
8.0.130.0050.00013.33
8.0.120.0000.00819.21
8.0.110.0030.00619.30
8.0.100.0040.00419.21
8.0.90.0080.00019.24
8.0.80.0120.00919.32
8.0.70.0000.00819.25
8.0.60.0040.00419.15
8.0.50.0090.00019.35
8.0.30.0130.00619.48
8.0.20.0140.00819.54
8.0.10.0000.00819.45
8.0.00.0060.01218.98
7.4.330.0050.00016.89
7.4.320.0040.00418.73
7.4.300.0030.00618.84
7.4.290.0030.00518.95
7.4.280.0030.00618.70
7.4.270.0090.00018.88
7.4.260.0090.00618.82
7.4.250.0000.00918.92
7.4.240.0020.00618.80
7.4.230.0040.00418.85
7.4.220.0220.00918.81
7.4.210.0000.01618.87
7.4.200.0070.00019.01
7.4.160.0100.00718.90
7.4.150.0190.01318.83
7.4.140.0120.01118.82
7.4.130.0140.00818.86
7.4.120.0110.00918.81
7.4.110.0130.00618.84
7.4.100.0090.00918.76
7.4.90.0040.01418.73
7.4.80.0030.01519.39
7.4.70.0080.01118.74
7.4.60.0060.01618.71
7.4.50.0080.00818.72
7.4.40.0090.00818.66
7.4.30.0060.01318.85
7.4.00.0090.00617.57
7.3.330.0020.00213.10
7.3.320.0000.00512.98
7.3.310.0000.00718.60
7.3.300.0030.00518.61
7.3.290.0140.00818.52
7.3.280.0120.00818.61
7.3.270.0080.01218.75
7.3.260.0060.01218.54
7.3.250.0090.01118.50
7.3.240.0120.00818.58
7.3.230.0070.01018.54
7.3.210.0130.01018.54
7.3.200.0060.01218.81
7.3.190.0130.00818.98
7.3.180.0110.00718.93
7.3.170.0080.01118.70
7.3.160.0110.00818.86
7.2.330.0110.00918.91
7.2.320.0100.01118.80
7.2.310.0120.00919.16
7.2.300.0120.00618.95
7.2.290.0160.00318.85
7.2.60.0060.00919.48
7.2.00.0030.01022.09
7.1.200.0090.00618.09
7.1.100.0000.01320.70
7.1.70.0070.00319.86
7.1.60.0120.01519.97
7.1.50.0130.01019.59
7.1.00.0030.07725.33
7.0.200.0230.00419.28
7.0.60.0130.06322.36
7.0.50.0030.08717.85
7.0.40.0100.08722.33
7.0.30.0270.07322.63
7.0.20.0500.07322.44
7.0.10.0000.07722.54
7.0.00.0030.09022.24
5.6.280.0070.06023.72
5.6.210.0100.08023.08
5.6.200.0130.08318.11
5.6.190.0100.09022.84
5.6.180.0330.08022.94
5.6.170.0370.04322.81
5.6.160.0130.08322.90
5.6.150.0200.07318.22
5.6.140.0130.06018.20
5.6.130.0100.08018.11
5.6.120.0130.03323.57
5.6.110.0100.08323.55
5.6.100.0070.07323.68
5.6.90.0100.07023.42
5.6.80.0230.02322.91
5.5.350.3730.04022.75
5.5.340.0100.04317.95
5.5.330.0030.05722.51
5.5.320.0130.06722.70
5.5.310.0300.06722.39
5.5.300.0130.07017.95
5.5.290.0070.07317.96
5.5.280.0030.08723.39
5.5.270.0070.03723.38
5.5.260.0070.09023.43
5.5.250.0100.08323.18
5.5.240.0330.07022.75

preferences:
78.35 ms | 401 KiB | 5 Q