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(180000).' '; echo $formatter->format(190000).' '; echo $formatter->format(200000).' '; echo $formatter->format(300000).' '; echo $formatter->format(400000).' '; echo $formatter->format(500000).' '; echo $formatter->format(600000).' '; echo $formatter->format(700000).' '; echo $formatter->format(800000).' '; echo $formatter->format(900000).' '; echo $formatter->format(90000); ?>

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.0100.01319.00
8.3.50.0140.00723.36
8.3.40.0130.00320.54
8.3.30.0040.01120.55
8.3.20.0080.00022.35
8.3.10.0030.00625.59
8.3.00.0090.00022.16
8.2.180.0030.01419.13
8.2.170.0130.00622.96
8.2.160.0090.00622.46
8.2.150.0000.00924.18
8.2.140.0030.00624.66
8.2.130.0040.00421.68
8.2.120.0060.00326.35
8.2.110.0100.00022.10
8.2.100.0120.00020.18
8.2.90.0030.00621.21
8.2.80.0030.00619.88
8.2.70.0100.00019.63
8.2.60.0030.00720.40
8.2.50.0040.00419.74
8.2.40.0080.00423.30
8.2.30.0030.00522.47
8.2.20.0000.00819.95
8.2.10.0030.00520.39
8.2.00.0000.00820.33
8.1.280.0090.00625.92
8.1.270.0100.00720.78
8.1.260.0090.00028.09
8.1.250.0060.00328.09
8.1.240.0060.00323.98
8.1.230.0100.00319.80
8.1.220.0030.00620.02
8.1.210.0000.00819.60
8.1.200.0060.00319.60
8.1.190.0030.00619.78
8.1.180.0080.00019.91
8.1.170.0050.00520.88
8.1.160.0080.00022.70
8.1.150.0060.00320.80
8.1.140.0060.00322.04
8.1.130.0040.00419.99
8.1.120.0050.00320.15
8.1.110.0030.00620.03
8.1.100.0050.00320.00
8.1.90.0000.00820.04
8.1.80.0060.00320.10
8.1.70.0000.00819.93
8.1.60.0060.00320.13
8.1.50.0030.00619.72
8.1.40.0070.00720.09
8.1.30.0060.00320.30
8.1.20.0040.00420.36
8.1.10.0060.00320.22
8.1.00.0000.01120.05
8.0.300.0050.00519.11
8.0.290.0000.00819.00
8.0.280.0000.00820.51
8.0.270.0040.00419.54
8.0.260.0070.00019.61
8.0.250.0000.00819.08
8.0.240.0050.00319.32
8.0.230.0060.00319.16
8.0.220.0000.00819.30
8.0.210.0080.00019.07
8.0.200.0000.00719.16
8.0.190.0080.00019.44
8.0.180.0000.00919.26
8.0.170.0030.00619.37
8.0.160.0040.00419.34
8.0.150.0030.00518.98
8.0.140.0030.00519.12
8.0.130.0000.00513.38
8.0.120.0000.00919.50
8.0.110.0030.00619.50
8.0.100.0030.00619.43
8.0.90.0000.00819.35
8.0.80.0070.01019.30
8.0.70.0040.00419.45
8.0.60.0080.00019.52
8.0.50.0040.00419.36
8.0.30.0130.00619.65
8.0.20.0080.01319.64
8.0.10.0030.00619.54
8.0.00.0130.01019.28
7.4.330.0020.00216.85
7.4.320.0000.00819.14
7.4.300.0040.00419.14
7.4.290.0050.00318.96
7.4.280.0030.00718.84
7.4.270.0050.00219.09
7.4.260.0000.00819.18
7.4.250.0090.00018.85
7.4.240.0040.00419.16
7.4.230.0040.00418.94
7.4.220.0120.00919.23
7.4.210.0070.01419.16
7.4.200.0040.00419.31
7.4.160.0080.00819.03
7.4.150.0090.00918.91
7.4.140.0080.01118.97
7.4.130.0120.01118.86
7.4.120.0110.00819.01
7.4.110.0070.01318.93
7.4.100.0090.01318.93
7.4.90.0160.00419.05
7.4.80.0060.01619.39
7.4.70.0130.00618.80
7.4.60.0120.00618.97
7.4.50.0030.01619.05
7.4.40.0070.01118.89
7.4.30.0060.01419.23
7.4.10.0140.00718.40
7.4.00.0060.01118.06
7.3.330.0000.00713.14
7.3.320.0050.00213.04
7.3.310.0040.00418.56
7.3.300.0000.00918.85
7.3.290.0150.00218.65
7.3.280.0120.00618.84
7.3.270.0200.01019.16
7.3.260.0160.01718.86
7.3.240.0110.01418.82
7.3.230.0140.01118.74
7.3.210.0110.00719.13
7.3.200.0140.00419.04
7.3.190.0120.00618.86
7.3.180.0100.00718.87
7.3.170.0130.00618.80
7.3.160.0040.01818.68
7.3.130.0100.00918.45
7.3.120.0060.01218.10
7.3.110.0120.00718.11
7.3.100.0120.00918.08
7.3.90.0120.00818.00
7.3.80.0070.00818.20
7.3.70.0100.00818.16
7.3.60.0080.00918.34
7.3.50.0100.01118.09
7.3.40.0080.00818.15
7.3.30.0080.00818.24
7.3.20.0050.01018.95
7.3.10.0070.00918.68
7.3.00.0100.00618.87
7.2.330.0170.00718.84
7.2.320.0100.01019.23
7.2.310.0110.00818.87
7.2.300.0090.00919.05
7.2.290.0090.01018.87
7.2.260.0130.00918.52
7.2.250.0110.01018.33
7.2.240.0110.01018.24
7.2.230.0090.01018.35
7.2.220.0110.00618.27
7.2.210.0140.00418.20
7.2.200.0060.01318.25
7.2.190.0090.01118.21
7.2.180.0090.01018.28
7.2.170.0080.01118.27
7.2.160.0110.00818.37
7.2.150.0080.01018.79
7.2.140.0140.00618.75
7.2.130.0110.00919.04
7.2.120.0370.00717.47
7.2.110.0200.01017.47
7.2.100.0320.00917.43
7.2.90.0220.00717.53
7.2.80.0210.00817.64
7.2.70.0100.00617.42
7.2.60.0190.00717.89
7.2.50.0260.00717.44
7.2.40.0160.00817.45
7.2.30.0130.00817.49
7.2.20.0260.01017.50
7.2.10.0140.00817.47
7.2.00.0180.00918.36
7.1.330.0110.01018.48
7.1.320.0130.01118.49
7.1.310.0110.00918.58
7.1.300.0580.01118.06
7.1.290.0330.01018.13
7.1.280.0110.00817.95
7.1.270.0090.01017.96
7.1.260.0110.00517.92
7.1.250.0460.01118.07
7.1.240.1460.00516.16
7.1.230.0640.00816.21
7.1.220.0300.00916.22
7.1.210.0260.00816.24
7.1.200.0130.00616.85
7.1.190.0320.00716.29
7.1.180.0150.00816.10
7.1.170.0270.00916.27
7.1.160.0170.00816.21
7.1.150.0280.01316.58
7.1.140.0300.01116.05
7.1.130.0270.01016.12
7.1.120.0170.00816.25
7.1.110.0330.00616.28
7.1.100.0220.00617.39
7.1.90.0370.00716.31
7.1.80.0380.00716.35
7.1.70.0180.01217.08
7.1.60.0160.01017.13
7.1.50.0170.00817.13
7.1.40.0370.01116.33
7.1.30.0210.01016.29
7.1.20.0210.00716.20
7.1.10.0160.00916.24
7.1.00.0300.02218.36
7.0.330.0120.01117.72
7.0.320.0240.00917.03
7.0.310.0570.00615.92
7.0.300.0150.01115.94
7.0.290.0220.01216.08
7.0.280.0200.01016.70
7.0.270.0120.00716.03
7.0.260.0190.00516.03
7.0.250.0190.00416.25
7.0.240.0340.00716.09
7.0.230.0190.00816.18
7.0.220.0520.01016.04
7.0.210.0290.00816.13
7.0.200.0280.00917.00
7.0.190.0300.00616.05
7.0.180.0240.00616.11
7.0.170.0250.00416.15
7.0.160.0160.00916.03
7.0.150.0130.00616.07
7.0.140.0120.00916.09
7.0.130.0300.00716.13
7.0.120.0450.00415.97
7.0.110.0400.00516.04
7.0.100.0260.00815.99
7.0.90.0260.00616.06
7.0.80.0290.00316.09
7.0.70.0310.00915.97
7.0.60.0160.01517.71
7.0.50.0170.02216.41
7.0.40.0110.02917.16
7.0.30.0150.01817.14
7.0.20.0180.02717.09
7.0.10.0110.03117.10
7.0.00.0100.02017.09
5.6.400.0120.01217.89
5.6.390.0180.01117.87
5.6.380.0210.00816.04
5.6.370.0150.01115.99
5.6.360.0170.01316.04
5.6.350.0210.00917.56
5.6.340.0140.00916.10
5.6.330.0100.00416.11
5.6.320.0110.00715.99
5.6.310.0110.00516.12
5.6.300.0100.01215.79
5.6.290.0220.00716.00
5.6.280.0150.02618.50
5.6.270.0130.00616.02
5.6.260.0140.00915.98
5.6.250.0180.01115.93
5.6.240.0120.00915.97
5.6.230.0170.00815.85
5.6.220.0160.00516.01
5.6.210.0180.02518.42
5.6.200.0120.02516.38
5.6.190.0130.01517.55
5.6.180.0260.02417.61
5.6.170.0210.01717.71
5.6.160.0120.02417.63
5.6.150.0110.02116.48
5.6.140.0080.02416.45
5.6.130.0130.02816.44
5.6.120.0140.02417.75
5.6.110.0150.02617.85
5.6.100.0170.01817.96
5.6.90.0160.02717.98
5.6.80.0140.02817.66
5.6.70.0150.00715.75
5.6.60.0090.01215.96
5.6.50.0160.00615.77
5.6.40.0160.00615.92
5.6.30.0130.00815.83
5.6.20.0190.00415.75
5.6.10.0120.00715.97
5.6.00.0120.00415.88
5.5.380.0200.00615.69
5.5.370.0120.00915.88
5.5.360.0160.00815.74
5.5.350.0120.02717.68
5.5.340.0130.01716.33
5.5.330.0120.01717.66
5.5.320.0110.01717.55
5.5.310.0150.01817.58
5.5.300.0130.01416.40
5.5.290.0120.02416.46
5.5.280.0130.01517.86
5.5.270.0080.01917.74
5.5.260.0130.02417.79
5.5.250.0140.02817.71
5.5.240.0140.01917.43
5.5.230.0100.01315.88
5.5.220.0120.01015.87
5.5.210.0190.00515.89
5.5.200.0140.01015.93
5.5.190.0200.00315.65
5.5.180.0110.01015.89
5.5.170.0190.00615.96
5.5.160.0210.01116.96
5.5.150.0110.01015.98
5.5.140.0150.00815.98
5.5.130.0160.00615.70
5.5.120.0180.00815.76
5.5.110.0140.00815.81
5.5.100.0190.00815.76
5.5.90.0130.01015.81
5.5.80.0180.00617.63
5.5.70.0160.01216.60
5.5.60.0170.00716.69
5.5.50.0200.00415.73
5.5.40.0190.00616.75
5.5.30.0200.01315.93
5.5.20.0120.01416.73
5.5.10.0180.01016.34
5.5.00.0160.00917.03

preferences:
41.79 ms | 401 KiB | 5 Q