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(31); ?>

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.0090.00619.25
8.3.50.0060.01220.43
8.3.40.0060.00920.45
8.3.30.0080.00820.42
8.3.20.0030.00522.07
8.3.10.0040.00425.61
8.3.00.0050.00522.22
8.2.180.0140.01021.04
8.2.170.0130.00622.96
8.2.160.0060.01322.04
8.2.150.0050.00524.18
8.2.140.0090.00024.66
8.2.130.0090.00023.63
8.2.120.0060.00326.35
8.2.110.0030.00724.25
8.2.100.0130.00020.43
8.2.90.0040.00421.05
8.2.80.0030.00620.00
8.2.70.0060.00719.75
8.2.60.0070.00420.30
8.2.50.0000.00919.88
8.2.40.0030.00623.50
8.2.30.0090.00022.54
8.2.20.0000.00820.09
8.2.10.0040.00420.24
8.2.00.0030.00520.35
8.1.280.0090.00625.92
8.1.270.0110.00720.79
8.1.260.0030.00628.09
8.1.250.0040.00428.09
8.1.240.0070.00325.04
8.1.230.0080.00420.15
8.1.220.0000.00820.14
8.1.210.0030.00619.60
8.1.200.0040.00719.50
8.1.190.0030.00619.95
8.1.180.0080.00019.55
8.1.170.0000.00820.83
8.1.160.0000.00822.64
8.1.150.0060.00320.71
8.1.140.0060.00321.83
8.1.130.0050.00320.01
8.1.120.0030.00519.66
8.1.110.0060.00319.99
8.1.100.0050.00320.04
8.1.90.0030.00619.98
8.1.80.0030.00520.00
8.1.70.0030.00519.48
8.1.60.0000.01019.79
8.1.50.0060.00320.05
8.1.40.0000.01320.00
8.1.30.0000.01020.00
8.1.20.0000.00820.15
8.1.10.0040.00420.21
8.1.00.0070.00720.01
8.0.300.0050.00319.16
8.0.290.0000.00819.13
8.0.280.0040.00420.43
8.0.270.0030.00519.48
8.0.260.0000.00719.63
8.0.250.0080.00019.12
8.0.240.0040.00419.43
8.0.230.0030.00619.31
8.0.220.0000.00919.10
8.0.210.0030.00519.13
8.0.200.0050.00219.09
8.0.190.0060.00319.34
8.0.180.0030.00619.20
8.0.170.0000.00819.22
8.0.160.0050.00319.18
8.0.150.0000.00819.07
8.0.140.0000.00819.02
8.0.130.0000.00513.27
8.0.120.0000.00819.27
8.0.110.0000.00819.38
8.0.100.0040.00419.48
8.0.90.0000.00819.33
8.0.80.0100.00719.37
8.0.70.0030.00619.23
8.0.60.0040.00419.11
8.0.50.0080.00019.32
8.0.30.0110.00919.45
8.0.20.0150.00819.73
8.0.10.0040.00419.63
8.0.00.0150.00919.18
7.4.330.0050.00016.71
7.4.320.0040.00418.93
7.4.300.0070.00018.95
7.4.290.0000.00819.17
7.4.280.0050.00319.19
7.4.270.0070.00019.16
7.4.260.0030.00519.18
7.4.250.0030.00618.89
7.4.240.0060.00219.22
7.4.230.0000.00819.18
7.4.220.0070.01319.14
7.4.210.0040.01519.07
7.4.200.0000.00819.01
7.4.160.0150.00318.95
7.4.150.0120.00818.95
7.4.140.0120.01118.93
7.4.130.0040.01919.07
7.4.120.0120.00618.82
7.4.110.0140.01119.02
7.4.100.0130.01318.95
7.4.90.0100.01019.02
7.4.80.0170.00719.39
7.4.70.0120.00618.83
7.4.60.0150.00418.84
7.4.50.0030.01018.75
7.4.40.0090.00918.86
7.4.30.0120.01218.87
7.4.00.0060.01317.73
7.3.330.0060.00013.10
7.3.320.0000.00813.19
7.3.310.0050.00518.89
7.3.300.0080.00018.47
7.3.290.0050.01118.73
7.3.280.0100.00918.63
7.3.270.0130.01318.70
7.3.260.0090.02018.90
7.3.240.0080.01518.55
7.3.230.0150.00918.94
7.3.210.0030.01718.49
7.3.200.0070.01418.85
7.3.190.0150.00418.93
7.3.180.0060.01318.81
7.3.170.0120.00618.72
7.3.160.0030.01518.88
7.3.120.0060.01217.25
7.3.110.0070.01017.51
7.3.100.0060.01217.25
7.3.90.0000.01417.35
7.3.80.0080.00817.69
7.3.70.0030.01017.61
7.3.60.0040.00817.54
7.3.50.0100.01017.59
7.3.40.0000.01217.52
7.3.30.0060.01017.40
7.3.20.0060.00918.92
7.3.10.0110.00718.82
7.3.00.0070.00719.02
7.2.330.0100.01019.00
7.2.320.0130.01318.95
7.2.310.0110.00818.81
7.2.300.0170.00919.00
7.2.290.0150.00918.96
7.2.250.0130.00717.69
7.2.240.0130.00617.49
7.2.230.0070.01017.58
7.2.220.0090.00917.43
7.2.210.0030.00617.54
7.2.200.0000.01017.48
7.2.190.0060.00617.55
7.2.180.0060.01217.36
7.2.170.0070.00717.57
7.2.160.0030.00917.19
7.2.150.0100.00319.46
7.2.140.0000.01019.09
7.2.130.0060.00919.32
7.2.120.0080.00819.44
7.2.110.0060.00919.03
7.2.100.0060.00619.30
7.2.90.0030.01319.09
7.2.80.0030.01219.30
7.2.70.0140.00319.21
7.2.60.0050.01019.22
7.2.50.0080.00619.42
7.2.40.0030.01019.23
7.2.30.0070.01119.29
7.2.20.0070.01019.34
7.2.10.0060.00619.44
7.2.00.0030.01320.55
7.1.330.0030.01418.43
7.1.320.0040.01118.20
7.1.310.0070.00718.45
7.1.300.0030.01318.31
7.1.290.0090.00318.30
7.1.280.0030.01218.25
7.1.270.0070.00718.27
7.1.260.0030.01318.28
7.1.250.0030.01318.70
7.1.240.0000.01418.49
7.1.230.0070.00718.51
7.1.220.0030.01018.13
7.1.210.0000.01318.18
7.1.200.0040.00918.42
7.1.190.0060.00318.06
7.1.180.0060.00917.96
7.1.170.0040.01218.34
7.1.160.0070.00717.96
7.1.150.0040.00818.58
7.1.140.0000.01018.56
7.1.130.0000.00918.48
7.1.120.0030.01218.29
7.1.110.0030.01018.39
7.1.100.0090.00719.48
7.1.90.0070.00718.04
7.1.80.0030.00718.41
7.1.70.0100.00718.89
7.1.60.0080.01319.06
7.1.50.0050.01218.83
7.1.40.0040.01418.51
7.1.30.0080.00418.54
7.1.20.0000.01118.38
7.1.10.0070.00318.41
7.1.00.0050.04321.76
7.0.330.0060.00918.23
7.0.320.0080.00418.23
7.0.310.0030.01018.17
7.0.300.0040.00818.17
7.0.290.0070.01018.05
7.0.280.0030.01017.90
7.0.270.0060.00617.91
7.0.260.0000.00918.38
7.0.250.0070.00718.31
7.0.240.0060.01018.09
7.0.230.0000.01118.23
7.0.220.0000.01018.13
7.0.210.0040.01118.22
7.0.200.0080.00218.75
7.0.190.0040.01118.07
7.0.180.0110.00417.97
7.0.170.0030.01018.11
7.0.160.0000.01318.21
7.0.150.0030.01418.26
7.0.140.0000.00918.07
7.0.130.0060.00317.90
7.0.120.0100.00317.84
7.0.110.0040.01217.85
7.0.100.0000.00918.13
7.0.90.0060.00917.86
7.0.80.0040.01217.93
7.0.70.0070.01017.71
7.0.60.0020.02820.34
7.0.50.0050.04517.99
7.0.40.0100.05119.16
7.0.30.0150.03219.23
7.0.20.0170.04319.19
7.0.10.0070.04819.28
7.0.00.0020.04119.29
5.6.400.0030.01017.43
5.6.390.0030.01217.45
5.6.380.0030.01017.31
5.6.370.0030.01417.03
5.6.360.0060.00916.96
5.6.350.0030.00616.68
5.6.340.0030.00716.69
5.6.330.0110.00417.18
5.6.320.0090.00616.77
5.6.310.0000.01017.10
5.6.300.0070.00416.99
5.6.290.0000.01517.32
5.6.280.0090.03020.26
5.6.270.0040.01116.87
5.6.260.0060.01017.27
5.6.250.0050.00517.23
5.6.240.0110.00316.96
5.6.230.0030.00917.11
5.6.220.0030.00916.79
5.6.210.0080.04319.90
5.6.200.0040.02317.51
5.6.190.0070.04820.03
5.6.180.0320.03719.78
5.6.170.0170.04319.82
5.6.160.0040.04420.00
5.6.150.0050.04317.80
5.6.140.0050.04217.50
5.6.130.0050.03317.44
5.6.120.0020.03720.29
5.6.110.0080.04320.17
5.6.100.0060.03220.28
5.6.90.0060.03820.44
5.6.80.0100.03119.91
5.6.70.0050.00817.08
5.6.60.0090.00016.95
5.6.50.0000.01016.84
5.6.40.0060.00617.05
5.6.30.0080.00816.73
5.6.20.0040.01416.99
5.6.10.0100.00716.84
5.6.00.0120.00416.83
5.5.380.0040.01217.04
5.5.370.0040.00917.10
5.5.360.0110.00617.00
5.5.350.0070.04520.05
5.5.340.0080.02517.44
5.5.330.0100.04719.82
5.5.320.0070.03819.80
5.5.310.0080.02919.78
5.5.300.0050.03817.50
5.5.290.0090.04217.37
5.5.280.0000.04019.74
5.5.270.0080.03820.25
5.5.260.0050.02820.13
5.5.250.0020.02619.61
5.5.240.0130.03819.86
5.5.230.0070.01016.64
5.5.220.0030.00617.11
5.5.210.0060.00916.98
5.5.200.0040.00917.01
5.5.190.0070.00717.07
5.5.180.0070.00716.79
5.5.170.0070.00716.93
5.5.160.0100.00317.00
5.5.150.0040.01417.25
5.5.140.0030.01217.14
5.5.130.0080.00817.13
5.5.120.0070.00716.72
5.5.110.0030.01317.00
5.5.100.0070.00716.64
5.5.90.0030.00916.96
5.5.80.0000.01516.95
5.5.70.0060.00616.56
5.5.60.0070.00717.09
5.5.50.0080.00417.04
5.5.40.0070.01116.82
5.5.30.0110.00316.54
5.5.20.0110.00617.09
5.5.10.0100.00716.91
5.5.00.0070.00716.91

preferences:
57.24 ms | 400 KiB | 5 Q