3v4l.org

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

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.0060.01019.11
8.3.50.0210.00023.16
8.3.40.0100.00720.42
8.3.30.0000.01620.60
8.3.20.0000.00821.91
8.3.10.0080.00025.61
8.3.00.0130.00722.11
8.2.180.0140.01020.91
8.2.170.0150.00022.96
8.2.160.0160.00322.45
8.2.150.0060.00324.18
8.2.140.0050.00524.66
8.2.130.0030.00623.50
8.2.120.0060.00326.35
8.2.110.0060.00322.35
8.2.100.0130.00020.30
8.2.90.0060.00321.22
8.2.80.0040.00420.00
8.2.70.0040.00420.00
8.2.60.0060.00320.18
8.2.50.0060.00319.88
8.2.40.0080.00321.97
8.2.30.0040.00422.60
8.2.20.0000.01019.89
8.2.10.0040.00420.20
8.2.00.0000.00820.30
8.1.280.0070.01025.92
8.1.270.0060.00320.70
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0030.00625.80
8.1.230.0100.00320.16
8.1.220.0030.00620.04
8.1.210.0040.00419.60
8.1.200.0030.00619.73
8.1.190.0060.00319.80
8.1.180.0060.00319.88
8.1.170.0030.00620.62
8.1.160.0000.00822.67
8.1.150.0050.00320.84
8.1.140.0050.00519.74
8.1.130.0000.00820.07
8.1.120.0050.00319.81
8.1.110.0000.00820.01
8.1.100.0030.00620.05
8.1.90.0050.00320.08
8.1.80.0050.00319.93
8.1.70.0030.00520.00
8.1.60.0040.00420.17
8.1.50.0050.00520.11
8.1.40.0030.00720.13
8.1.30.0030.00720.22
8.1.20.0030.00620.20
8.1.10.0030.00720.14
8.1.00.0000.01020.02
8.0.300.0060.00319.22
8.0.290.0040.00419.00
8.0.280.0000.00920.22
8.0.270.0000.00819.23
8.0.260.0040.00419.63
8.0.250.0090.00319.29
8.0.240.0000.01019.23
8.0.230.0070.00019.47
8.0.220.0090.00019.13
8.0.210.0050.00319.37
8.0.200.0020.00519.24
8.0.190.0030.00619.42
8.0.180.0030.00519.39
8.0.170.0080.00019.30
8.0.160.0030.00619.18
8.0.150.0000.00919.00
8.0.140.0030.00519.08
8.0.130.0000.00513.30
8.0.120.0000.00819.35
8.0.110.0060.00319.32
8.0.100.0030.00619.53
8.0.90.0040.00419.40
8.0.80.0100.00719.45
8.0.70.0030.00619.65
8.0.60.0040.00419.38
8.0.50.0040.00419.37
8.0.30.0080.01119.63
8.0.20.0110.00919.56
8.0.10.0050.00519.59
8.0.00.0050.01419.29
7.4.330.0000.00516.84
7.4.320.0080.00319.16
7.4.300.0030.00318.98
7.4.290.0080.00018.89
7.4.280.0070.00319.23
7.4.270.0050.00219.04
7.4.260.0040.00419.17
7.4.250.0030.00619.14
7.4.240.0050.00318.95
7.4.230.0080.00019.13
7.4.220.0120.01619.04
7.4.210.0100.01019.13
7.4.200.0030.00519.30
7.4.160.0110.00718.72
7.4.150.0130.01019.03
7.4.140.0110.00819.03
7.4.130.0090.01318.88
7.4.120.0100.00719.13
7.4.110.0150.00618.74
7.4.100.0130.00719.04
7.4.90.0130.00618.96
7.4.80.0130.01319.39
7.4.70.0060.01319.09
7.4.60.0070.01118.84
7.4.50.0030.00918.98
7.4.40.0110.00718.85
7.4.30.0150.00618.93
7.4.00.0070.01117.59
7.3.330.0030.00313.08
7.3.320.0050.00313.18
7.3.310.0050.00318.74
7.3.300.0000.00718.73
7.3.290.0100.00718.69
7.3.280.0120.00918.79
7.3.270.0100.01018.86
7.3.260.0110.01618.89
7.3.250.0090.01219.00
7.3.240.0060.01518.84
7.3.230.0110.01118.81
7.3.210.0060.01318.53
7.3.200.0140.01118.95
7.3.190.0100.00718.71
7.3.180.0130.00319.09
7.3.170.0120.00618.84
7.3.160.0170.00318.84
7.3.120.0100.00617.89
7.3.110.0040.01517.45
7.3.100.0100.00717.39
7.3.90.0120.00317.60
7.3.80.0090.00617.30
7.3.70.0070.01117.64
7.3.60.0030.01017.79
7.3.50.0030.00617.62
7.3.40.0090.00617.35
7.3.30.0030.01317.23
7.3.20.0030.01319.09
7.3.10.0090.00919.05
7.3.00.0040.01118.74
7.2.330.0230.01319.28
7.2.320.0130.00619.42
7.2.310.0110.01118.98
7.2.300.0060.01318.78
7.2.290.0100.01218.88
7.2.250.0150.00617.58
7.2.240.0090.01217.65
7.2.230.0040.00717.43
7.2.220.0030.01017.52
7.2.210.0090.00617.78
7.2.200.0130.00317.81
7.2.190.0090.00617.69
7.2.180.0030.01317.43
7.2.170.0100.00717.63
7.2.60.0070.01019.27
7.2.00.0070.00722.02
7.1.330.0070.00718.48
7.1.320.0030.00718.50
7.1.310.0030.01318.40
7.1.300.0070.01018.38
7.1.290.0030.00918.38
7.1.280.0060.00918.30
7.1.270.0060.00918.52
7.1.260.0040.01118.59
7.1.200.0120.00318.31
7.1.100.0070.00720.55
7.1.70.0040.00719.67
7.1.60.0030.02419.89
7.1.50.0070.01719.58
7.1.00.0000.07724.99
7.0.200.0050.00519.22
7.0.60.0100.08022.47
7.0.50.0070.08017.82
7.0.40.0130.04322.27
7.0.30.0230.08722.52
7.0.20.0270.07722.52
7.0.10.0170.08722.63
7.0.00.0230.05022.62
5.6.280.0030.05723.47
5.6.210.0100.08323.34
5.6.200.0070.04718.21
5.6.190.0130.06322.74
5.6.180.0570.06322.88
5.6.170.0370.03022.85
5.6.160.0200.05322.79
5.6.150.0100.03718.20
5.6.140.0130.07318.12
5.6.130.0030.05718.16
5.6.120.0070.08723.53
5.6.110.0170.06723.68
5.6.100.0130.08023.26
5.6.90.0100.08023.82
5.6.80.0170.07322.87
5.5.350.0030.07323.06
5.5.340.0100.06317.89
5.5.330.0130.08022.59
5.5.320.0030.07022.62
5.5.310.0200.04722.73
5.5.300.0030.03717.94
5.5.290.0000.05317.98
5.5.280.0070.07323.37
5.5.270.0070.04023.11
5.5.260.0030.08323.39
5.5.250.0130.07722.89
5.5.240.0200.06322.89

preferences:
44.67 ms | 401 KiB | 5 Q