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

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.0130.00319.00
8.3.50.0070.01020.55
8.3.40.0140.00420.71
8.3.30.0110.00420.42
8.3.20.0040.00422.29
8.3.10.0090.00025.50
8.3.00.0120.00922.29
8.2.180.0130.01021.04
8.2.170.0040.01222.96
8.2.160.0110.00422.43
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0060.00323.41
8.2.120.0090.00026.35
8.2.110.0030.00622.27
8.2.100.0060.00620.18
8.2.90.0060.00320.78
8.2.80.0060.00320.00
8.2.70.0000.01019.88
8.2.60.0000.00919.92
8.2.50.0060.00319.75
8.2.40.0050.01021.51
8.2.30.0040.00422.58
8.2.20.0060.00320.01
8.2.10.0060.00320.34
8.2.00.0000.00820.36
8.1.280.0110.01125.92
8.1.270.0070.01420.75
8.1.260.0080.00028.09
8.1.250.0090.00028.09
8.1.240.0030.00624.07
8.1.230.0080.00320.16
8.1.220.0050.00520.02
8.1.210.0000.00819.73
8.1.200.0060.00319.61
8.1.190.0040.00419.68
8.1.180.0000.00919.77
8.1.170.0090.00020.93
8.1.160.0000.00822.65
8.1.150.0000.00820.72
8.1.140.0050.00521.76
8.1.130.0000.00820.03
8.1.120.0080.00020.03
8.1.110.0060.00319.94
8.1.100.0040.00419.61
8.1.90.0000.00919.99
8.1.80.0030.00620.05
8.1.70.0030.00619.95
8.1.60.0090.00020.02
8.1.50.0030.00620.03
8.1.40.0040.00820.00
8.1.30.0000.01020.17
8.1.20.0090.00020.13
8.1.10.0060.00320.11
8.1.00.0060.00320.13
8.0.300.0000.01119.10
8.0.290.0000.00919.00
8.0.280.0000.00820.29
8.0.270.0020.00519.51
8.0.260.0000.00719.62
8.0.250.0000.00819.26
8.0.240.0080.00019.43
8.0.230.0000.00819.09
8.0.220.0000.00818.95
8.0.210.0040.00419.16
8.0.200.0040.00419.07
8.0.190.0030.00619.18
8.0.180.0050.00319.22
8.0.170.0090.00019.07
8.0.160.0040.00419.13
8.0.150.0040.00419.05
8.0.140.0000.00819.10
8.0.130.0030.00313.28
8.0.120.0040.00419.30
8.0.110.0000.00819.25
8.0.100.0040.00419.33
8.0.90.0000.00919.02
8.0.80.0130.01019.41
8.0.70.0030.00619.33
8.0.60.0040.00418.92
8.0.50.0000.00819.27
8.0.30.0100.00819.86
8.0.20.0140.00819.91
8.0.10.0030.00519.35
8.0.00.0090.01019.22
7.4.330.0050.00016.72
7.4.320.0050.00219.01
7.4.300.0030.00318.93
7.4.290.0050.00319.06
7.4.280.0040.00419.11
7.4.270.0080.00019.05
7.4.260.0000.00819.13
7.4.250.0040.00419.11
7.4.240.0060.00219.04
7.4.230.0000.00819.05
7.4.220.0100.01019.06
7.4.210.0120.00319.00
7.4.200.0060.00319.23
7.4.160.0070.01019.02
7.4.150.0040.01518.73
7.4.140.0110.01019.03
7.4.130.0230.00719.11
7.4.120.0100.01119.03
7.4.110.0130.00618.73
7.4.100.0120.00819.01
7.4.90.0120.01518.94
7.4.80.0120.00819.39
7.4.70.0130.01019.06
7.4.60.0110.00618.89
7.4.50.0060.00919.05
7.4.40.0150.00918.90
7.4.30.0100.01019.05
7.4.10.0000.01817.38
7.4.00.0090.01017.68
7.3.330.0000.00913.25
7.3.320.0030.00313.00
7.3.310.0040.00418.65
7.3.300.0040.00418.79
7.3.290.0070.01018.74
7.3.280.0090.00918.79
7.3.270.0060.01318.84
7.3.260.0090.01618.97
7.3.240.0110.01218.77
7.3.230.0120.01218.91
7.3.210.0120.00618.96
7.3.200.0090.01019.11
7.3.190.0160.00618.95
7.3.180.0100.00719.08
7.3.170.0060.01518.89
7.3.160.0120.00618.41
7.3.130.0000.02017.56
7.3.120.0040.01517.50
7.3.110.0030.01417.33
7.3.100.0090.00617.53
7.3.90.0000.01317.02
7.3.80.0030.01017.46
7.3.70.0070.00417.41
7.3.60.0040.01217.63
7.3.50.0100.00317.58
7.3.40.0070.00317.39
7.3.30.0030.01217.38
7.3.20.0000.00918.95
7.3.10.0090.00818.90
7.3.00.0080.00518.92
7.2.330.0110.00818.73
7.2.320.0140.00718.69
7.2.310.0060.01518.84
7.2.300.0070.01019.14
7.2.290.0030.01619.33
7.2.260.0040.01517.70
7.2.250.0030.01717.71
7.2.240.0060.00917.53
7.2.230.0140.00317.55
7.2.220.0000.01317.15
7.2.210.0060.00617.45
7.2.200.0000.01117.62
7.2.190.0030.01017.44
7.2.180.0000.01017.48
7.2.170.0060.00917.69
7.2.160.0070.00717.77
7.2.150.0120.00319.35
7.2.140.0150.00319.33
7.2.130.0050.00819.34
7.2.120.0040.01019.46
7.2.110.0060.00719.35
7.2.100.0060.01019.25
7.2.90.0060.00819.25
7.2.80.0040.00919.27
7.2.70.0070.00719.25
7.2.60.0080.00619.44
7.2.50.0070.00919.37
7.2.40.0050.00819.37
7.2.30.0060.00719.36
7.2.20.0020.01019.32
7.2.10.0070.00719.37
7.2.00.0050.01019.93
7.1.330.0070.00718.36
7.1.320.0060.00918.64
7.1.310.0030.01018.51
7.1.300.0070.01018.39
7.1.290.0060.00618.53
7.1.280.0120.00318.06
7.1.270.0000.01517.94
7.1.260.0070.01118.42
7.1.250.0090.00718.31
7.1.240.0060.00618.20
7.1.230.0100.00618.31
7.1.220.0080.00418.38
7.1.210.0070.00418.34
7.1.200.0090.00418.23
7.1.190.0120.00318.19
7.1.180.0060.00317.98
7.1.170.0040.00718.30
7.1.160.0060.00818.20
7.1.150.0090.00618.44
7.1.140.0120.00618.68
7.1.130.0080.00418.43
7.1.120.0090.00017.94
7.1.110.0080.00418.23
7.1.100.0040.01219.54
7.1.90.0000.00918.46
7.1.80.0110.00417.98
7.1.70.0050.00819.03
7.1.60.0110.00719.17
7.1.50.0000.01818.99
7.1.40.0070.00718.37
7.1.30.0080.00318.60
7.1.20.0030.01018.22
7.1.10.0090.00618.33
7.1.00.0050.04421.78
7.0.330.0070.00718.09
7.0.320.0000.01218.21
7.0.310.0100.00318.37
7.0.300.0060.00818.13
7.0.290.0080.00417.84
7.0.280.0070.01017.95
7.0.270.0030.00918.25
7.0.260.0110.00318.24
7.0.250.0080.00818.42
7.0.240.0030.00618.23
7.0.230.0000.00918.22
7.0.220.0060.00918.22
7.0.210.0060.00917.96
7.0.200.0050.00718.73
7.0.190.0060.00318.34
7.0.180.0060.00618.30
7.0.170.0060.01018.20
7.0.160.0000.01318.13
7.0.150.0050.00518.32
7.0.140.0030.00617.97
7.0.130.0060.00617.69
7.0.120.0060.00617.85
7.0.110.0030.00618.05
7.0.100.0040.01118.15
7.0.90.0060.01317.94
7.0.80.0060.00618.14
7.0.70.0060.01018.08
7.0.60.0070.04620.17
7.0.50.0080.03817.82
7.0.40.0050.02619.35
7.0.30.0130.03019.16
7.0.20.0210.03719.21
7.0.10.0050.05319.24
7.0.00.0050.04919.23
5.6.400.0030.01016.93
5.6.390.0060.00617.05
5.6.380.0080.00416.91
5.6.370.0070.00717.35
5.6.360.0120.00017.05
5.6.350.0040.01217.02
5.6.340.0060.01217.23
5.6.330.0030.01017.45
5.6.320.0060.01016.83
5.6.310.0090.00916.98
5.6.300.0000.00916.77
5.6.290.0060.00316.98
5.6.280.0110.03520.30
5.6.270.0030.00916.71
5.6.260.0030.01417.33
5.6.250.0060.01216.72
5.6.240.0100.01017.09
5.6.230.0030.01316.74
5.6.220.0060.00616.98
5.6.210.0090.04620.12
5.6.200.0070.03917.69
5.6.190.0080.04519.78
5.6.180.0230.03019.79
5.6.170.0170.04219.90
5.6.160.0100.04319.95
5.6.150.0070.04117.69
5.6.140.0100.04317.67
5.6.130.0050.04217.58
5.6.120.0130.04020.32
5.6.110.0070.04620.48
5.6.100.0050.03820.36
5.6.90.0150.04020.10
5.6.80.0030.04019.82
5.6.70.0060.00316.81
5.6.60.0040.01116.91
5.6.50.0070.01016.81
5.6.40.0100.00017.05
5.6.30.0040.01116.81
5.6.20.0100.00616.68
5.6.10.0100.00716.71
5.6.00.0030.00916.91
5.5.380.0060.00616.91
5.5.370.0030.00916.69
5.5.360.0120.00317.14
5.5.350.0060.04519.76
5.5.340.0030.02317.52
5.5.330.0080.02819.96
5.5.320.0070.04619.56
5.5.310.0150.02419.68
5.5.300.0100.01817.35
5.5.290.0050.03817.30
5.5.280.0030.05120.29
5.5.270.0000.03920.20
5.5.260.0100.02920.45
5.5.250.0060.02220.21
5.5.240.0100.04219.68
5.5.230.0030.01016.53
5.5.220.0070.00717.01
5.5.210.0000.00917.05
5.5.200.0090.00316.96
5.5.190.0070.01017.07
5.5.180.0000.01316.61
5.5.170.0030.00917.15
5.5.160.0100.00716.91
5.5.150.0000.01517.02
5.5.140.0170.00016.85
5.5.130.0040.01116.98
5.5.120.0000.01516.81
5.5.110.0070.00716.87
5.5.100.0080.00816.68
5.5.90.0000.01616.72
5.5.80.0000.01617.04
5.5.70.0000.01817.04
5.5.60.0080.00416.62
5.5.50.0090.00616.92
5.5.40.0060.01017.04
5.5.30.0100.00016.75
5.5.20.0060.00916.44
5.5.10.0040.01116.43
5.5.00.0060.00916.83

preferences:
90.58 ms | 401 KiB | 5 Q