3v4l.org

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

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.0070.01018.88
8.3.50.0170.00020.42
8.3.40.0080.01120.54
8.3.30.0090.00620.55
8.3.20.0040.00422.16
8.3.10.0040.00425.65
8.3.00.0040.00422.04
8.2.180.0120.00419.38
8.2.170.0160.00322.96
8.2.160.0110.00422.32
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0090.00023.25
8.2.120.0060.00326.35
8.2.110.0060.00322.35
8.2.100.0100.00320.41
8.2.90.0060.00321.08
8.2.80.0060.00319.63
8.2.70.0060.00319.88
8.2.60.0000.01020.28
8.2.50.0040.00419.88
8.2.40.0030.00623.39
8.2.30.0000.00922.59
8.2.20.0060.00320.07
8.2.10.0040.00420.39
8.2.00.0080.00020.19
8.1.280.0100.00625.92
8.1.270.0030.01320.79
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0060.00323.97
8.1.230.0070.00421.41
8.1.220.0040.00420.16
8.1.210.0070.00319.61
8.1.200.0000.01019.61
8.1.190.0030.00619.89
8.1.180.0030.00719.78
8.1.170.0060.00320.79
8.1.160.0060.00322.57
8.1.150.0030.00620.72
8.1.140.0030.00621.77
8.1.130.0000.00920.07
8.1.120.0060.00320.02
8.1.110.0000.00820.03
8.1.100.0000.00819.52
8.1.90.0000.00819.63
8.1.80.0040.00419.69
8.1.70.0030.00619.55
8.1.60.0040.00420.18
8.1.50.0030.00619.96
8.1.40.0030.00720.03
8.1.30.0060.00320.12
8.1.20.0040.00420.23
8.1.10.0000.00820.13
8.1.00.0040.00820.01
8.0.300.0060.00319.22
8.0.290.0040.00419.00
8.0.280.0030.00520.35
8.0.270.0030.00619.72
8.0.260.0040.00419.51
8.0.250.0040.00419.25
8.0.240.0000.00819.17
8.0.230.0050.00519.24
8.0.220.0030.00619.40
8.0.210.0060.00319.11
8.0.200.0020.00519.03
8.0.190.0060.00319.23
8.0.180.0050.00319.15
8.0.170.0040.00419.27
8.0.160.0030.00519.29
8.0.150.0030.00618.92
8.0.140.0040.00419.06
8.0.130.0000.00613.32
8.0.120.0000.00919.43
8.0.110.0030.00519.44
8.0.100.0000.00819.04
8.0.90.0080.00019.29
8.0.80.0060.01319.18
8.0.70.0000.00919.46
8.0.60.0030.00619.45
8.0.50.0030.00519.02
8.0.30.0080.01219.67
8.0.20.0110.01419.73
8.0.10.0040.00419.59
8.0.00.0090.01319.18
7.4.330.0050.00016.82
7.4.320.0050.00219.17
7.4.300.0030.00319.04
7.4.290.0040.00418.91
7.4.280.0060.00319.11
7.4.270.0000.00819.19
7.4.260.0050.00319.21
7.4.250.0060.00318.94
7.4.240.0070.00119.12
7.4.230.0030.00518.99
7.4.220.0130.01019.00
7.4.210.0030.01318.97
7.4.200.0040.00418.84
7.4.160.0100.00718.87
7.4.150.0070.01718.97
7.4.140.0090.00918.85
7.4.130.0070.02018.85
7.4.120.0060.01418.92
7.4.110.0100.01018.88
7.4.100.0100.01018.73
7.4.90.0140.00518.71
7.4.80.0060.01819.39
7.4.70.0060.01319.03
7.4.60.0060.01218.98
7.4.50.0120.00619.11
7.4.40.0160.00318.80
7.4.30.0040.01819.01
7.4.00.0070.01017.54
7.3.330.0080.00013.16
7.3.320.0030.00313.14
7.3.310.0030.00618.63
7.3.300.0030.00518.82
7.3.290.0060.01218.66
7.3.280.0100.00718.74
7.3.270.0130.00718.53
7.3.260.0210.00618.85
7.3.240.0120.00618.72
7.3.230.0100.01618.96
7.3.210.0070.01419.07
7.3.200.0170.01718.72
7.3.190.0070.01118.97
7.3.180.0150.00318.63
7.3.170.0050.02018.88
7.3.160.0150.00618.74
7.2.330.0150.00419.05
7.2.320.0160.00918.95
7.2.310.0120.00918.76
7.2.300.0080.01219.16
7.2.290.0070.01318.85
7.2.60.0100.00718.96
7.2.00.0070.01022.08
7.1.200.0060.00618.31
7.1.100.0240.00918.86
7.1.70.0000.01419.69
7.1.60.0100.01719.84
7.1.50.0070.01319.63
7.1.00.0000.07725.31
7.0.200.0060.00319.27
7.0.60.0070.05722.62
7.0.50.0000.07017.66
7.0.40.0000.05322.32
7.0.30.0330.07722.43
7.0.20.0370.07022.48
7.0.10.0130.04322.63
7.0.00.0170.07322.25
5.6.280.0000.06323.50
5.6.210.0170.03323.34
5.6.200.0070.04018.10
5.6.190.0000.05323.04
5.6.180.0370.05322.84
5.6.170.0430.06722.85
5.6.160.0070.05022.85
5.6.150.0100.08018.17
5.6.140.0070.08318.21
5.6.130.0070.08018.08
5.6.120.0100.05323.25
5.6.110.0070.06023.68
5.6.100.0130.07723.21
5.6.90.0170.04023.25
5.6.80.0070.06722.88
5.5.350.0000.04723.00
5.5.340.0030.03717.84
5.5.330.0170.07322.80
5.5.320.0030.06022.34
5.5.310.0230.04022.63
5.5.300.0000.04318.02
5.5.290.0070.08017.99
5.5.280.0030.04323.46
5.5.270.0200.07023.14
5.5.260.0070.08023.34
5.5.250.0000.04323.18
5.5.240.0200.06022.81

preferences:
60.54 ms | 401 KiB | 5 Q