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

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.70.0040.01218.88
8.3.60.0100.00718.88
8.3.50.0300.00923.17
8.3.40.0130.01020.58
8.3.30.0130.00320.46
8.3.20.0070.01022.16
8.3.10.0050.00325.48
8.3.00.0030.00622.04
8.2.180.0160.00620.98
8.2.170.0160.00422.96
8.2.160.0110.00422.44
8.2.150.0090.00024.18
8.2.140.0060.00324.66
8.2.130.0050.00523.27
8.2.120.0060.00326.35
8.2.110.0100.00022.35
8.2.100.0090.00320.28
8.2.90.0030.00621.23
8.2.80.0090.00019.63
8.2.70.0100.00519.72
8.2.60.0000.01020.30
8.2.50.0060.00320.00
8.2.40.0000.00923.50
8.2.30.0040.00422.52
8.2.20.0000.00820.01
8.2.10.0050.00320.32
8.2.00.0050.00320.29
8.1.280.0120.00325.92
8.1.270.0050.00520.88
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0040.00825.92
8.1.230.0000.01123.31
8.1.220.0000.00820.04
8.1.210.0040.00419.61
8.1.200.0070.00319.50
8.1.190.0030.00620.03
8.1.180.0040.00419.68
8.1.170.0030.00620.68
8.1.160.0000.00822.46
8.1.150.0080.00020.65
8.1.140.0040.00421.83
8.1.130.0060.00319.88
8.1.120.0000.00919.95
8.1.110.0040.00419.62
8.1.100.0030.00719.96
8.1.90.0030.00619.50
8.1.80.0040.00420.00
8.1.70.0040.00419.84
8.1.60.0000.01020.15
8.1.50.0000.01019.87
8.1.40.0060.00619.70
8.1.30.0000.00920.14
8.1.20.0000.00820.18
8.1.10.0060.00320.21
8.1.00.0060.00620.11
8.0.300.0000.00819.22
8.0.290.0030.00619.13
8.0.280.0030.00620.27
8.0.270.0080.00019.69
8.0.260.0050.00219.57
8.0.250.0000.00819.51
8.0.240.0040.00419.39
8.0.230.0040.00419.23
8.0.220.0060.00319.09
8.0.210.0000.00819.16
8.0.200.0000.00719.38
8.0.190.0030.00619.16
8.0.180.0080.00019.25
8.0.170.0090.00019.26
8.0.160.0080.00019.11
8.0.150.0040.00418.84
8.0.140.0030.00519.22
8.0.130.0060.00013.38
8.0.120.0040.00419.43
8.0.110.0050.00319.40
8.0.100.0060.00319.27
8.0.90.0030.00619.27
8.0.80.0140.00319.09
8.0.70.0060.00319.10
8.0.60.0040.00419.13
8.0.50.0050.00319.43
8.0.30.0110.01019.60
8.0.20.0040.01919.39
8.0.10.0000.00819.47
8.0.00.0080.01119.24
7.4.330.0000.00516.70
7.4.320.0000.00819.00
7.4.300.0050.00319.25
7.4.290.0040.00418.99
7.4.280.0040.00419.17
7.4.270.0000.00818.95
7.4.260.0040.00419.11
7.4.250.0030.00619.14
7.4.240.0050.00419.15
7.4.230.0050.00319.09
7.4.220.0160.01019.06
7.4.210.0060.01019.01
7.4.200.0000.00819.22
7.4.160.0000.01918.86
7.4.150.0120.01219.05
7.4.140.0110.01318.93
7.4.130.0130.00618.76
7.4.120.0070.01318.92
7.4.110.0180.00618.81
7.4.100.0060.01318.95
7.4.90.0170.01018.96
7.4.80.0070.01319.39
7.4.70.0160.00318.96
7.4.60.0060.01218.76
7.4.50.0030.01618.93
7.4.40.0070.01718.77
7.4.30.0030.01618.96
7.4.10.0070.01319.48
7.4.00.0080.01018.53
7.3.330.0090.00013.18
7.3.320.0080.00013.25
7.3.310.0040.00418.77
7.3.300.0020.00518.41
7.3.290.0070.00818.62
7.3.280.0060.01218.67
7.3.270.0100.01019.16
7.3.260.0130.01318.62
7.3.250.0120.01118.69
7.3.240.0100.01118.84
7.3.230.0100.01018.93
7.3.210.0060.01618.82
7.3.200.0080.01119.05
7.3.190.0060.01218.84
7.3.180.0030.01518.91
7.3.170.0120.00618.94
7.3.160.0000.01718.41
7.3.130.0030.01319.48
7.3.120.0070.00719.48
7.3.110.0030.01519.48
7.3.100.0070.01019.48
7.3.90.0050.00819.48
7.3.80.0030.00819.48
7.3.70.0040.01219.48
7.3.60.0140.00719.48
7.3.50.0070.01019.48
7.3.40.0100.00319.48
7.3.30.0070.00719.48
7.3.20.0070.00420.66
7.3.10.0040.01119.67
7.3.00.0050.00919.64
7.2.330.0030.02118.95
7.2.320.0090.01419.14
7.2.310.0120.00618.71
7.2.300.0100.01318.97
7.2.290.0090.01519.01
7.2.260.0030.01919.48
7.2.250.0030.01719.48
7.2.240.0070.01019.48
7.2.230.0000.01819.48
7.2.220.0070.01019.48
7.2.210.0030.01419.48
7.2.200.0030.01019.48
7.2.190.0070.01519.48
7.2.180.0070.01019.48
7.2.170.0030.01219.48
7.2.160.0070.00719.48
7.2.150.0090.00620.57
7.2.140.0000.01120.57
7.2.130.0060.00819.94
7.2.120.0030.01119.90
7.2.110.0080.00919.90
7.2.100.0070.00619.96
7.2.90.0030.01019.93
7.2.80.0060.00720.13
7.2.70.0030.01219.98
7.2.60.0070.01019.77
7.2.50.0020.01219.92
7.2.40.0020.01020.16
7.2.30.0070.00919.88
7.2.20.0060.00820.06
7.2.10.0030.01019.89
7.2.00.0020.01420.59
7.1.330.0140.00319.48
7.1.320.0060.00619.73
7.1.310.0060.00919.59
7.1.300.0100.01019.73
7.1.290.0060.01219.57
7.1.280.0090.00619.67
7.1.270.0070.00719.61
7.1.260.0030.01319.63
7.1.250.0090.00318.96
7.1.240.0040.00918.92
7.1.230.0050.01118.83
7.1.220.0050.00918.99
7.1.210.0100.00518.80
7.1.200.0030.01118.77
7.1.190.0020.01118.91
7.1.180.0040.01218.94
7.1.170.0060.00618.84
7.1.160.0050.00718.92
7.1.150.0030.00918.98
7.1.140.0030.00919.05
7.1.130.0040.01219.00
7.1.120.0050.01018.87
7.1.110.0060.00519.04
7.1.100.0140.01019.37
7.1.90.0120.00219.13
7.1.80.0060.00819.02
7.1.70.0020.01519.23
7.1.60.0100.00919.20
7.1.50.0010.01419.17
7.1.40.0030.00918.87
7.1.30.0090.00518.93
7.1.20.0050.00619.11
7.1.10.0060.00518.90
7.1.00.0080.02820.95
7.0.330.0080.00818.72
7.0.320.0040.00718.88
7.0.310.0070.00518.86
7.0.300.0090.00218.85
7.0.290.0090.00618.84
7.0.280.0030.00918.87
7.0.270.0040.00718.86
7.0.260.0040.00918.90
7.0.250.0040.00718.84
7.0.240.0030.00818.97
7.0.230.0050.01018.90
7.0.220.0080.00518.65
7.0.210.0010.01318.72
7.0.200.0040.00518.93
7.0.190.0030.00918.78
7.0.180.0060.00518.93
7.0.170.0020.01218.79
7.0.160.0030.01118.82
7.0.150.0070.00518.79
7.0.140.0040.01118.81
7.0.130.0030.00918.79
7.0.120.0070.00918.81
7.0.110.0050.01118.73
7.0.100.0030.00818.63
7.0.90.0080.00618.72
7.0.80.0050.01218.68
7.0.70.0070.00718.64
7.0.60.0060.03520.08
7.0.50.0070.02118.45
7.0.40.0050.03019.16
7.0.30.0150.03219.41
7.0.20.0130.03019.34
7.0.10.0100.02519.36
7.0.00.0080.03419.35
5.6.400.0000.01319.48
5.6.390.0000.01319.48
5.6.380.0050.00518.15
5.6.370.0010.01018.19
5.6.360.0030.01318.20
5.6.350.0110.00418.21
5.6.340.0040.01118.29
5.6.330.0040.01118.28
5.6.320.0030.00818.31
5.6.310.0040.01118.31
5.6.300.0080.00618.06
5.6.290.0090.00418.18
5.6.280.0040.02720.13
5.6.270.0060.01118.21
5.6.260.0050.01118.32
5.6.250.0100.00418.38
5.6.240.0080.00818.09
5.6.230.0080.00818.24
5.6.220.0070.00818.29
5.6.210.0070.03219.87
5.6.200.0100.02718.27
5.6.190.0040.03819.83
5.6.180.0220.02519.86
5.6.170.0130.03119.72
5.6.160.0090.02619.76
5.6.150.0110.01618.29
5.6.140.0110.02718.12
5.6.130.0080.03118.26
5.6.120.0050.02620.08
5.6.110.0070.03319.86
5.6.100.0110.02819.96
5.6.90.0040.02619.89
5.6.80.0090.03219.79
5.6.70.0080.00718.15
5.6.60.0050.00818.03
5.6.50.0040.01118.20
5.6.40.0110.00518.16
5.6.30.0150.00218.34
5.6.20.0080.00818.13
5.6.10.0050.00818.12
5.6.00.0050.01118.24
5.5.380.0070.00815.14
5.5.370.0030.00715.19
5.5.360.0030.01015.13
5.5.350.0020.02217.64
5.5.340.0080.01416.08
5.5.330.0050.02917.64
5.5.320.0060.02617.66
5.5.310.0110.01717.62
5.5.300.0040.01816.00
5.5.290.0070.03016.04
5.5.280.0070.01917.92
5.5.270.0060.01918.01
5.5.260.0060.03317.99
5.5.250.0050.01717.72
5.5.240.0080.02617.78
5.5.230.0080.00315.05
5.5.220.0070.00615.06
5.5.210.0000.01115.13
5.5.200.0030.01015.18
5.5.190.0020.01115.08
5.5.180.0030.01315.21
5.5.170.0050.00315.15
5.5.160.0070.00215.05
5.5.150.0050.00715.27
5.5.140.0040.00715.08
5.5.130.0020.00915.14
5.5.120.0040.00815.07
5.5.110.0070.00315.20
5.5.100.0040.00915.11
5.5.90.0050.00615.05
5.5.80.0040.01015.16
5.5.70.0090.00515.10
5.5.60.0060.00715.16
5.5.50.0040.00815.15
5.5.40.0040.00715.18
5.5.30.0060.00615.10
5.5.20.0030.00615.17
5.5.10.0050.00815.14
5.5.00.0080.00515.17

preferences:
72.58 ms | 401 KiB | 5 Q