3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new NumberFormatter('nb', NumberFormatter::SPELLOUT); $formatter->setTextAttribute(NumberFormatter::DEFAULT_RULESET, "%spellout-cardinal-masculine"); echo $formatter->format(31).' '; echo $formatter->format(300000); ?>

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.00919.13
8.3.50.0130.00823.24
8.3.40.0130.00320.42
8.3.30.0120.00320.42
8.3.20.0040.00422.31
8.3.10.0000.00825.50
8.3.00.0050.00522.18
8.2.180.0070.01521.00
8.2.170.0070.01422.96
8.2.160.0120.00622.54
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0080.00023.42
8.2.120.0030.00526.35
8.2.110.0040.00824.08
8.2.100.0060.00620.09
8.2.90.0040.00420.00
8.2.80.0000.00919.88
8.2.70.0100.00519.63
8.2.60.0060.00319.88
8.2.50.0060.00320.41
8.2.40.0080.00420.29
8.2.30.0030.00622.52
8.2.20.0030.00620.09
8.2.10.0030.00520.25
8.2.00.0030.00520.37
8.1.280.0060.00925.92
8.1.270.0030.00720.83
8.1.260.0080.00028.09
8.1.250.0060.00328.09
8.1.240.0100.00024.46
8.1.230.0130.00020.02
8.1.220.0030.00620.03
8.1.210.0040.00419.61
8.1.200.0030.00719.73
8.1.190.0030.00619.73
8.1.180.0050.00519.60
8.1.170.0040.00419.80
8.1.160.0040.00422.63
8.1.150.0040.00420.84
8.1.140.0040.00421.96
8.1.130.0000.00820.02
8.1.120.0050.00319.99
8.1.110.0030.00620.05
8.1.100.0030.00620.07
8.1.90.0030.00519.73
8.1.80.0040.00420.07
8.1.70.0040.00420.05
8.1.60.0080.00020.20
8.1.50.0070.00319.69
8.1.40.0130.00020.12
8.1.30.0040.00420.05
8.1.20.0000.00819.88
8.1.10.0060.00320.16
8.1.00.0070.00720.13
8.0.300.0030.00623.42
8.0.290.0030.00619.00
8.0.280.0000.00820.39
8.0.270.0030.00619.16
8.0.260.0070.00019.68
8.0.250.0020.00519.14
8.0.240.0080.00019.26
8.0.230.0040.00419.18
8.0.220.0060.00319.13
8.0.210.0080.00019.23
8.0.200.0040.00419.14
8.0.190.0000.00819.23
8.0.180.0030.00619.25
8.0.170.0060.00319.21
8.0.160.0000.00819.14
8.0.150.0030.00519.09
8.0.140.0030.00519.13
8.0.130.0000.00513.31
8.0.120.0030.00619.55
8.0.110.0000.00819.54
8.0.100.0040.00419.48
8.0.90.0060.00318.99
8.0.80.0150.00419.45
8.0.70.0080.00019.17
8.0.60.0000.00819.25
8.0.50.0040.00419.58
8.0.30.0110.01119.56
8.0.20.0150.01019.63
8.0.10.0040.00419.59
8.0.00.0100.00919.23
7.4.330.0020.00216.71
7.4.320.0060.00319.00
7.4.300.0000.00719.15
7.4.290.0000.00719.20
7.4.280.0030.00719.16
7.4.270.0000.00719.11
7.4.260.0080.00018.98
7.4.250.0000.00819.04
7.4.240.0050.00319.13
7.4.230.0030.00619.29
7.4.220.0100.01019.17
7.4.210.0140.00418.93
7.4.200.0040.00518.82
7.4.160.0160.00919.00
7.4.150.0000.01818.78
7.4.140.0110.00919.11
7.4.130.0220.00419.02
7.4.120.0070.01318.98
7.4.110.0120.00918.96
7.4.100.0070.01718.95
7.4.90.0090.01118.81
7.4.80.0130.00619.39
7.4.70.0100.01018.91
7.4.60.0030.01318.88
7.4.50.0060.01218.78
7.4.40.0030.01518.89
7.4.30.0080.01318.84
7.4.10.0130.02017.86
7.4.00.0080.01317.43
7.3.330.0000.00813.14
7.3.320.0000.00613.11
7.3.310.0040.00418.57
7.3.300.0080.00018.66
7.3.290.0080.01118.80
7.3.280.0120.00418.60
7.3.270.0130.00718.64
7.3.260.0070.01918.84
7.3.240.0110.00819.01
7.3.230.0160.00918.60
7.3.210.0060.01318.98
7.3.200.0130.00718.81
7.3.190.0060.01218.96
7.3.180.0040.01318.58
7.3.170.0060.01718.93
7.3.160.0090.01118.45
7.3.130.0170.01117.64
7.3.120.0060.01917.65
7.3.110.0200.01317.24
7.3.100.0220.00717.28
7.3.90.0150.01517.37
7.3.80.0110.01617.54
7.3.70.0100.01717.63
7.3.60.0180.01417.81
7.3.50.0200.01017.54
7.3.40.0190.01117.68
7.3.30.0080.02317.59
7.3.20.0160.01219.15
7.3.10.0120.01518.71
7.3.00.0150.00918.79
7.2.330.0080.01119.04
7.2.320.0140.00518.82
7.2.310.0120.00618.95
7.2.300.0110.00619.21
7.2.290.0090.01618.84
7.2.260.0190.01117.57
7.2.250.0200.01217.76
7.2.240.0200.01017.66
7.2.230.0110.02117.78
7.2.220.0220.01117.72
7.2.210.0240.00817.53
7.2.200.0140.01717.60
7.2.190.0210.01017.62
7.2.180.0200.01217.46
7.2.170.0130.01817.73
7.2.160.0140.01817.53
7.2.150.0190.00819.34
7.2.140.0270.00419.38
7.2.130.0120.01319.32
7.2.120.0170.00718.95
7.2.110.0090.01619.08
7.2.100.0130.01319.28
7.2.90.0180.01118.74
7.2.80.0160.00619.28
7.2.70.0130.00615.55
7.2.60.0140.01019.18
7.2.50.0160.01115.35
7.2.40.0240.00419.09
7.2.30.0140.01319.22
7.2.20.0170.00718.95
7.2.10.0160.01118.96
7.2.00.0070.01120.13
7.1.330.0200.01018.53
7.1.320.0170.00918.20
7.1.310.0200.00918.23
7.1.300.0200.00718.41
7.1.290.0150.01218.36
7.1.280.0210.00918.51
7.1.270.0180.00718.50
7.1.260.0180.00818.49
7.1.250.0160.00818.08
7.1.240.0200.01118.46
7.1.230.0200.01018.59
7.1.220.0150.01518.22
7.1.210.0140.01218.53
7.1.200.0130.01118.37
7.1.190.0210.01218.10
7.1.180.0210.01018.47
7.1.170.0150.01518.44
7.1.160.0160.01318.30
7.1.150.0170.01418.22
7.1.140.0210.00418.26
7.1.130.0140.01418.38
7.1.120.0260.00318.07
7.1.110.0140.01018.45
7.1.100.0110.01219.44
7.1.90.0160.01318.34
7.1.80.0180.01018.57
7.1.70.0120.00719.05
7.1.60.0140.01319.16
7.1.50.0170.00618.97
7.1.40.0140.01418.25
7.1.30.0170.01318.23
7.1.20.0240.00818.16
7.1.10.0220.01118.53
7.1.00.0090.04821.78
7.0.330.0130.01618.23
7.0.320.0150.01118.37
7.0.310.0160.01418.26
7.0.300.0190.01118.20
7.0.290.0120.01617.91
7.0.280.0130.01718.05
7.0.270.0140.01417.87
7.0.260.0210.01318.16
7.0.250.0080.02118.21
7.0.240.0160.01118.26
7.0.230.0120.01518.32
7.0.220.0070.01918.32
7.0.210.0160.00817.88
7.0.200.0080.01018.80
7.0.190.0280.00017.97
7.0.180.0150.01118.36
7.0.170.0100.01717.96
7.0.160.0250.00318.22
7.0.150.0220.00818.25
7.0.140.0210.00418.26
7.0.130.0140.01418.27
7.0.120.0170.01218.12
7.0.110.0210.01017.91
7.0.100.0180.00918.00
7.0.90.0110.01118.30
7.0.80.0110.01417.85
7.0.70.0180.00517.99
7.0.60.0050.03320.44
7.0.50.0030.04717.90
7.0.40.0030.04519.16
7.0.30.0220.02819.33
7.0.20.0200.04019.14
7.0.10.0140.03819.21
7.0.00.0020.04719.07
5.6.400.0110.01116.81
5.6.390.0280.00317.21
5.6.380.0240.00417.35
5.6.370.0180.01216.66
5.6.360.0140.01417.36
5.6.350.0130.01316.88
5.6.340.0230.01117.11
5.6.330.0220.01216.94
5.6.320.0170.01117.16
5.6.310.0190.01217.35
5.6.300.0190.00817.09
5.6.290.0160.00916.95
5.6.280.0090.03720.27
5.6.270.0150.01517.14
5.6.260.0220.00917.09
5.6.250.0220.00617.13
5.6.240.0250.00416.85
5.6.230.0130.01316.86
5.6.220.0100.01417.20
5.6.210.0080.04820.14
5.6.200.0060.03017.50
5.6.190.0070.04619.92
5.6.180.0270.04019.99
5.6.170.0180.02319.82
5.6.160.0070.02519.86
5.6.150.0100.04317.56
5.6.140.0100.02517.54
5.6.130.0060.02517.55
5.6.120.0050.03820.38
5.6.110.0070.03820.15
5.6.100.0070.04520.14
5.6.90.0020.04820.19
5.6.80.0110.02519.80
5.6.70.0130.00316.80
5.6.60.0030.01316.94
5.6.50.0060.00916.96
5.6.40.0030.00916.84
5.6.30.0000.01016.84
5.6.20.0060.01316.88
5.6.10.0060.00617.16
5.6.00.0110.00417.09
5.5.380.0040.02217.05
5.5.370.0140.01416.92
5.5.360.0080.01217.00
5.5.350.0020.05219.59
5.5.340.0090.02817.42
5.5.330.0040.03219.91
5.5.320.0100.03219.41
5.5.310.0100.02619.94
5.5.300.0030.02617.38
5.5.290.0150.03617.60
5.5.280.0050.04220.32
5.5.270.0070.02519.84
5.5.260.0120.03520.15
5.5.250.0070.02919.91
5.5.240.0140.03719.68
5.5.230.0060.01017.08
5.5.220.0030.01016.46
5.5.210.0070.00416.85
5.5.200.0060.00917.06
5.5.190.0030.01316.92
5.5.180.0000.01017.21
5.5.170.0120.00616.97
5.5.160.0000.01816.68
5.5.150.0090.00617.19
5.5.140.0000.01916.88
5.5.130.0030.01716.66
5.5.120.0040.01116.92
5.5.110.0030.01316.86
5.5.100.0060.01016.66
5.5.90.0080.00416.52
5.5.80.0040.01117.39
5.5.70.0100.00716.75
5.5.60.0070.01016.83
5.5.50.0060.01216.61
5.5.40.0070.01316.76
5.5.30.0000.02016.44
5.5.20.0040.01217.09
5.5.10.0040.00816.73
5.5.00.0090.00616.75

preferences:
56.38 ms | 401 KiB | 5 Q