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(100000).' '; echo $formatter->format(200000); ?>

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.00719.13
8.3.50.0100.01023.15
8.3.40.0120.00320.43
8.3.30.0060.00920.68
8.3.20.0030.00522.30
8.3.10.0040.00425.53
8.3.00.0100.00622.23
8.2.180.0120.00620.79
8.2.170.0090.00622.96
8.2.160.0040.01122.20
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00023.38
8.2.120.0030.00626.35
8.2.110.0070.00322.47
8.2.100.0130.00020.30
8.2.90.0040.00421.09
8.2.80.0030.00719.88
8.2.70.0090.00020.00
8.2.60.0030.00720.18
8.2.50.0030.00619.88
8.2.40.0070.00423.50
8.2.30.0040.00422.55
8.2.20.0080.00020.04
8.2.10.0040.00420.38
8.2.00.0030.00520.33
8.1.280.0000.01525.92
8.1.270.0070.00320.90
8.1.260.0030.00628.09
8.1.250.0060.00328.09
8.1.240.0030.00623.92
8.1.230.0060.00620.02
8.1.220.0030.00619.68
8.1.210.0060.00319.73
8.1.200.0000.01119.61
8.1.190.0000.00919.78
8.1.180.0040.00419.89
8.1.170.0030.00621.01
8.1.160.0000.00822.72
8.1.150.0060.00320.71
8.1.140.0000.00922.06
8.1.130.0050.00320.08
8.1.120.0000.00820.13
8.1.110.0060.00319.68
8.1.100.0060.00319.68
8.1.90.0030.00520.13
8.1.80.0090.00020.07
8.1.70.0050.00319.64
8.1.60.0000.00820.13
8.1.50.0000.01020.02
8.1.40.0080.00420.19
8.1.30.0000.00920.07
8.1.20.0060.00320.12
8.1.10.0000.00820.09
8.1.00.0040.00820.14
8.0.300.0060.00319.10
8.0.290.0060.00319.13
8.0.280.0040.00420.36
8.0.270.0040.00419.57
8.0.260.0020.00519.52
8.0.250.0040.00419.28
8.0.240.0040.00419.25
8.0.230.0040.00419.62
8.0.220.0050.00319.02
8.0.210.0030.00519.02
8.0.200.0040.00419.18
8.0.190.0040.00419.41
8.0.180.0030.00519.27
8.0.170.0000.00819.23
8.0.160.0040.00419.09
8.0.150.0080.00019.05
8.0.140.0000.00919.14
8.0.130.0000.00513.38
8.0.120.0030.00619.54
8.0.110.0030.00619.50
8.0.100.0030.00619.13
8.0.90.0040.00419.53
8.0.80.0260.00319.21
8.0.70.0030.00519.35
8.0.60.0000.00819.59
8.0.50.0040.00419.37
8.0.30.0080.01119.76
8.0.20.0120.00919.51
8.0.10.0030.00619.61
8.0.00.0090.01219.25
7.4.330.0050.00016.75
7.4.320.0090.00019.20
7.4.300.0030.00319.16
7.4.290.0050.00218.95
7.4.280.0030.00619.08
7.4.270.0040.00419.19
7.4.260.0030.00519.02
7.4.250.0000.00819.02
7.4.240.0060.00218.96
7.4.230.0000.00819.25
7.4.220.0110.00919.25
7.4.210.0120.00919.09
7.4.200.0030.00619.27
7.4.160.0090.00919.08
7.4.150.0060.01318.84
7.4.140.0130.00818.90
7.4.130.0110.00818.97
7.4.120.0070.01218.99
7.4.110.0170.00318.98
7.4.100.0120.01318.76
7.4.90.0080.01118.90
7.4.80.0200.00619.39
7.4.70.0100.00918.88
7.4.60.0150.00618.98
7.4.50.0100.00318.89
7.4.40.0090.00918.93
7.4.30.0060.01218.80
7.4.00.0110.00317.50
7.3.330.0060.00313.15
7.3.320.0060.00013.06
7.3.310.0000.00918.65
7.3.300.0000.00718.85
7.3.290.0050.01118.68
7.3.280.0110.00818.69
7.3.270.0100.01319.05
7.3.260.0170.01019.01
7.3.250.0170.00318.74
7.3.240.0110.01118.85
7.3.230.0170.00819.08
7.3.210.0060.01219.03
7.3.200.0060.01818.81
7.3.190.0040.01318.89
7.3.180.0030.01318.74
7.3.170.0100.01018.47
7.3.160.0140.00418.78
7.3.00.0100.00318.93
7.2.330.0070.01419.41
7.2.320.0110.00819.18
7.2.310.0000.01818.80
7.2.300.0100.00718.55
7.2.290.0080.01118.95
7.2.130.0040.01119.42
7.2.120.0030.01019.25
7.2.110.0070.00719.43
7.2.100.0060.00619.13
7.2.90.0030.01019.06
7.2.80.0040.01119.25
7.2.70.0040.00819.16
7.2.60.0110.00619.19
7.2.50.0080.00419.15
7.2.40.0030.01019.46
7.2.30.0030.00919.59
7.2.20.0060.00619.00
7.2.10.0090.00919.21
7.2.00.0050.00920.73
7.1.250.0080.00418.20
7.1.240.0100.00618.21
7.1.230.0040.01118.54
7.1.220.0000.01318.25
7.1.210.0030.00718.38
7.1.200.0020.01118.38
7.1.190.0070.01018.38
7.1.180.0060.00618.50
7.1.170.0050.00518.27
7.1.160.0030.01018.30
7.1.150.0030.01018.47
7.1.140.0060.00318.41
7.1.130.0130.00318.14
7.1.120.0030.00918.17
7.1.110.0070.00418.39
7.1.100.0040.00619.51
7.1.90.0080.00318.20
7.1.80.0110.00318.49
7.1.70.0050.01118.96
7.1.60.0050.01519.09
7.1.50.0090.00918.83
7.1.40.0060.00618.47
7.1.30.0060.00618.20
7.1.20.0030.01018.50
7.1.10.0100.00318.21
7.1.00.0030.04521.65
7.0.330.0070.01018.13
7.0.320.0030.01018.09
7.0.310.0100.00717.86
7.0.300.0030.00918.07
7.0.290.0140.00017.78
7.0.280.0030.00918.05
7.0.270.0030.00917.95
7.0.260.0060.00617.89
7.0.250.0060.00618.05
7.0.240.0040.01217.69
7.0.230.0080.00418.11
7.0.220.0030.00617.85
7.0.210.0000.01418.16
7.0.200.0000.01018.72
7.0.190.0060.00918.18
7.0.180.0110.00018.10
7.0.170.0000.01017.77
7.0.160.0110.00717.97
7.0.150.0060.00917.89
7.0.140.0080.00418.02
7.0.130.0150.00817.81
7.0.120.0080.00817.84
7.0.110.0040.01517.76
7.0.100.0230.00417.82
7.0.90.0070.01317.98
7.0.80.0070.00718.10
7.0.70.0040.00417.54
7.0.60.0040.04120.28
7.0.50.0030.03017.73
7.0.40.0050.04819.08
7.0.30.0200.02519.21
7.0.20.0210.03519.33
7.0.10.0110.03319.26
7.0.00.0110.02519.12
5.6.380.0060.00617.09
5.6.370.0060.00616.80
5.6.360.0000.01016.94
5.6.350.0000.01016.77
5.6.340.0090.00317.21
5.6.330.0030.01216.86
5.6.320.0030.00916.93
5.6.310.0080.00316.84
5.6.300.0040.00416.65
5.6.290.0040.00816.82
5.6.280.0050.02220.20
5.6.270.0090.00616.59
5.6.260.0000.01916.99
5.6.250.0100.00516.58
5.6.240.0150.00017.14
5.6.230.0100.00317.22
5.6.220.0060.00616.94
5.6.210.0050.03219.92
5.6.200.0080.03117.55
5.6.190.0050.03419.79
5.6.180.0210.02619.86
5.6.170.0170.04120.01
5.6.160.0050.04719.72
5.6.150.0030.02917.45
5.6.140.0050.03917.42
5.6.130.0110.03817.33
5.6.120.0140.03520.30
5.6.110.0090.03420.25
5.6.100.0100.04020.44
5.6.90.0050.02720.22
5.6.80.0100.04019.97
5.6.70.0000.01016.55
5.6.60.0000.01017.05
5.6.50.0060.00617.24
5.6.40.0060.00616.89
5.6.30.0090.00417.13
5.6.20.0050.00616.95
5.6.10.0070.01016.87
5.6.00.0090.00616.99
5.5.380.0070.00310.58
5.5.370.0030.00810.86
5.5.360.0000.00810.52
5.5.350.0040.04516.86
5.5.340.0080.04214.13
5.5.330.0080.04316.64
5.5.320.0020.04916.52
5.5.310.0140.04116.50
5.5.300.0070.02014.42
5.5.290.0100.03314.42
5.5.280.0070.04217.04
5.5.270.0000.03016.87
5.5.260.0070.02517.21
5.5.250.0040.03917.12
5.5.240.0130.03316.67
5.5.230.0040.00410.76
5.5.220.0000.00510.76
5.5.210.0070.00010.98
5.5.200.0030.00610.91
5.5.190.0040.00410.66
5.5.180.0030.00610.68
5.5.170.0040.00410.63
5.5.160.0090.00310.42
5.5.150.0050.00010.85
5.5.140.0050.00210.84
5.5.130.0040.00410.93
5.5.120.0000.00710.68
5.5.110.0060.00610.50
5.5.100.0000.00710.69
5.5.90.0030.00610.85
5.5.80.0040.00410.92
5.5.70.0030.00310.82
5.5.60.0080.00310.68
5.5.50.0000.00710.82
5.5.40.0060.00310.61
5.5.30.0030.00710.58
5.5.20.0040.00410.55
5.5.10.0100.00010.82
5.5.00.0000.01010.55

preferences:
37.31 ms | 401 KiB | 5 Q