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(18000).' '; echo $formatter->format(19000).' '; echo $formatter->format(20000).' '; echo $formatter->format(30000).' '; echo $formatter->format(40000).' '; echo $formatter->format(50000).' '; echo $formatter->format(60000).' '; echo $formatter->format(70000).' '; echo $formatter->format(80000); ?>

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.13
8.3.50.0130.00320.65
8.3.40.0130.00320.59
8.3.30.0030.01320.51
8.3.20.0080.00022.04
8.3.10.0040.00425.52
8.3.00.0090.00022.22
8.2.180.0070.01019.00
8.2.170.0100.01022.96
8.2.160.0120.00322.49
8.2.150.0000.00924.18
8.2.140.0090.00024.66
8.2.130.0060.00326.16
8.2.120.0060.00323.27
8.2.110.0030.00722.47
8.2.100.0100.00320.30
8.2.90.0030.00621.23
8.2.80.0090.00019.88
8.2.70.0000.00920.00
8.2.60.0040.00420.18
8.2.50.0040.00420.00
8.2.40.0030.00921.83
8.2.30.0000.00822.64
8.2.20.0060.00320.00
8.2.10.0060.00320.38
8.2.00.0040.00420.21
8.1.280.0060.01025.92
8.1.270.0040.00420.70
8.1.260.0030.00626.35
8.1.250.0060.00328.09
8.1.240.0070.00325.76
8.1.230.0130.00020.04
8.1.220.0040.00420.05
8.1.210.0030.00619.73
8.1.200.0030.00819.60
8.1.190.0090.00019.68
8.1.180.0000.00819.91
8.1.170.0030.00620.64
8.1.160.0030.00522.64
8.1.150.0040.00420.73
8.1.140.0060.00321.84
8.1.130.0000.00920.04
8.1.120.0080.00019.93
8.1.110.0030.00620.01
8.1.100.0030.00520.09
8.1.90.0040.00420.08
8.1.80.0000.00820.08
8.1.70.0040.00419.93
8.1.60.0030.00620.13
8.1.50.0080.00319.74
8.1.40.0050.00520.19
8.1.30.0000.00920.04
8.1.20.0030.00620.04
8.1.10.0030.00720.09
8.1.00.0100.00019.77
8.0.300.0030.00519.10
8.0.290.0000.00819.13
8.0.280.0050.00320.34
8.0.270.0040.00419.60
8.0.260.0000.00719.62
8.0.250.0020.00519.30
8.0.240.0000.00819.31
8.0.230.0000.00819.32
8.0.220.0030.00519.31
8.0.210.0000.00819.29
8.0.200.0040.00419.17
8.0.190.0050.00519.26
8.0.180.0040.00419.23
8.0.170.0040.00419.41
8.0.160.0000.00919.02
8.0.150.0050.00319.17
8.0.140.0000.00819.14
8.0.130.0060.00013.36
8.0.120.0100.00019.43
8.0.110.0040.00419.51
8.0.100.0030.00619.42
8.0.90.0000.00819.40
8.0.80.0090.00919.30
8.0.70.0000.00818.99
8.0.60.0060.00319.48
8.0.50.0000.00819.36
8.0.30.0140.00919.60
8.0.20.0110.01019.43
8.0.10.0030.00619.55
8.0.00.0120.00819.31
7.4.330.0020.00216.79
7.4.320.0000.00819.27
7.4.300.0000.00719.16
7.4.290.0030.00618.98
7.4.280.0080.00019.13
7.4.270.0050.00319.07
7.4.260.0000.00819.16
7.4.250.0060.00319.08
7.4.240.0020.00619.09
7.4.230.0000.00819.24
7.4.220.0160.01719.11
7.4.210.0130.00618.98
7.4.200.0040.00419.08
7.4.160.0120.00618.92
7.4.150.0070.01319.09
7.4.140.0180.00618.90
7.4.130.0060.01318.89
7.4.120.0110.00818.86
7.4.110.0100.00918.93
7.4.100.0150.00918.96
7.4.90.0100.01019.12
7.4.80.0180.00719.39
7.4.70.0150.00318.79
7.4.60.0100.00718.79
7.4.50.0070.01318.80
7.4.40.0060.01218.95
7.4.30.0030.01619.00
7.4.00.0070.00717.47
7.3.330.0070.00012.97
7.3.320.0000.00613.03
7.3.310.0000.00818.50
7.3.300.0000.00818.76
7.3.290.0150.00818.73
7.3.280.0120.00718.86
7.3.270.0170.01018.94
7.3.260.0130.01618.79
7.3.250.0100.01118.80
7.3.240.0170.00718.85
7.3.230.0130.01318.69
7.3.210.0150.00618.88
7.3.200.0150.00418.75
7.3.190.0060.01219.04
7.3.180.0090.00918.86
7.3.170.0200.00319.14
7.3.160.0080.01118.96
7.3.10.0240.01118.88
7.3.00.0040.00818.92
7.2.330.0100.01019.14
7.2.320.0040.01519.09
7.2.310.0070.01318.52
7.2.300.0140.00719.11
7.2.290.0090.00919.23
7.2.130.0030.00919.41
7.2.120.0130.00618.84
7.2.110.0040.01119.06
7.2.100.0040.01119.07
7.2.90.0030.00719.47
7.2.80.0130.00319.21
7.2.70.0030.01019.24
7.2.60.0080.00519.34
7.2.50.0120.00019.29
7.2.40.0070.01019.27
7.2.30.0040.01119.16
7.2.20.0070.00719.32
7.2.10.0040.01219.54
7.2.00.0090.00420.68
7.1.250.0060.00318.34
7.1.200.0080.00018.44
7.1.100.0060.00320.55
7.1.70.0090.00919.61
7.1.60.0070.02019.89
7.1.50.0110.01119.64
7.1.00.0170.06725.01
7.0.200.0000.01019.42
7.0.60.0030.08722.61
7.0.50.0070.08317.85
7.0.40.0030.04322.43
7.0.30.0330.04322.49
7.0.20.0230.08722.59
7.0.10.0070.08322.37
7.0.00.0030.05722.30
5.6.280.0030.06023.23
5.6.210.0130.07723.16
5.6.200.0070.06718.17
5.6.190.0130.07322.64
5.6.180.0500.07022.88
5.6.170.0330.07322.69
5.6.160.0130.07722.96
5.6.150.0100.05318.09
5.6.140.0000.06018.11
5.6.130.0130.08018.20
5.6.120.0100.08023.83
5.6.110.0170.08023.30
5.6.100.0070.06323.67
5.6.90.0070.09023.27
5.6.80.0070.07723.02
5.5.350.0030.05023.05
5.5.340.0000.04017.93
5.5.330.0100.08322.76
5.5.320.0000.08722.34
5.5.310.0370.07022.37
5.5.300.0030.04017.88
5.5.290.0070.05717.91
5.5.280.0170.08323.34
5.5.270.0030.05023.50
5.5.260.0030.07323.37
5.5.250.0100.03322.89
5.5.240.0170.04722.54

preferences:
35.92 ms | 400 KiB | 5 Q