3v4l.org

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

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.0060.00918.88
8.3.50.0150.00823.30
8.3.40.0140.00420.71
8.3.30.0100.00720.54
8.3.20.0040.00421.80
8.3.10.0040.00425.42
8.3.00.0060.00321.63
8.2.180.0130.01019.13
8.2.170.0140.00722.96
8.2.160.0040.01122.24
8.2.150.0050.00524.18
8.2.140.0080.00024.66
8.2.130.0030.00619.75
8.2.120.0040.00426.35
8.2.110.0090.00022.31
8.2.100.0070.00420.03
8.2.90.0030.00620.00
8.2.80.0000.01019.88
8.2.70.0030.00620.18
8.2.60.0000.00820.05
8.2.50.0050.00320.18
8.2.40.0050.00322.47
8.2.30.0000.00822.52
8.2.20.0030.00719.94
8.2.10.0040.00420.27
8.2.00.0030.00520.15
8.1.280.0100.00625.92
8.1.270.0070.00425.75
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0070.00325.76
8.1.230.0090.00321.34
8.1.220.0030.00720.02
8.1.210.0090.00019.38
8.1.200.0130.00719.48
8.1.190.0000.00819.48
8.1.180.0060.00319.50
8.1.170.0090.00020.82
8.1.160.0040.00423.61
8.1.150.0030.00620.72
8.1.140.0000.00921.63
8.1.130.0000.00719.90
8.1.120.0000.00819.81
8.1.110.0040.00419.79
8.1.100.0060.00319.91
8.1.90.0030.00619.43
8.1.80.0040.00419.91
8.1.70.0040.00419.83
8.1.60.0000.00820.00
8.1.50.0000.00919.87
8.1.40.0040.00719.89
8.1.30.0060.00620.01
8.1.20.0030.00520.01
8.1.10.0000.00820.07
8.1.00.0000.00919.98
8.0.300.0030.00623.30
8.0.290.0050.00318.88
8.0.280.0050.00220.16
8.0.270.0000.00819.51
8.0.260.0030.00319.39
8.0.250.0000.00819.45
8.0.240.0080.00019.07
8.0.230.0030.00519.06
8.0.220.0040.00419.19
8.0.210.0050.00319.28
8.0.200.0000.00719.07
8.0.190.0040.00419.00
8.0.180.0080.00019.15
8.0.170.0030.00619.06
8.0.160.0030.00518.83
8.0.150.0060.00319.13
8.0.140.0000.00819.02
8.0.130.0030.00313.27
8.0.120.0040.00419.14
8.0.110.0080.00019.27
8.0.100.0080.00019.33
8.0.90.0000.00819.37
8.0.80.0100.01018.88
8.0.70.0030.00619.34
8.0.60.0000.00818.84
8.0.50.0030.00519.32
8.0.30.0090.01019.61
8.0.20.0100.01319.35
8.0.10.0000.00819.32
8.0.00.0090.01019.10
7.4.330.0060.00016.83
7.4.320.0000.00818.80
7.4.300.0040.00418.95
7.4.290.0000.00718.81
7.4.280.0030.00619.02
7.4.270.0000.00719.07
7.4.260.0070.00018.90
7.4.250.0000.00918.91
7.4.240.0040.00519.09
7.4.230.0000.00819.07
7.4.220.0130.00718.99
7.4.210.0090.00619.08
7.4.200.0080.00018.91
7.4.160.0070.01118.98
7.4.150.0210.00018.94
7.4.140.0110.00918.80
7.4.130.0080.01218.68
7.4.120.0140.00518.76
7.4.110.0090.00918.94
7.4.100.0100.01318.89
7.4.90.0160.00318.91
7.4.80.0090.00919.39
7.4.70.0060.01218.70
7.4.60.0110.00718.93
7.4.50.0000.01718.72
7.4.40.0000.01818.88
7.4.30.0110.00718.80
7.4.00.0100.00517.49
7.3.330.0050.00013.19
7.3.320.0050.00013.17
7.3.310.0050.00218.56
7.3.300.0000.00818.54
7.3.290.0070.00818.62
7.3.280.0060.01318.65
7.3.270.0110.00718.51
7.3.260.0120.00618.90
7.3.250.0110.00918.78
7.3.240.0180.00418.77
7.3.230.0080.01118.66
7.3.210.0100.01019.01
7.3.200.0140.00718.93
7.3.190.0150.00618.61
7.3.180.0090.00918.66
7.3.170.0130.00318.94
7.3.160.0150.00318.88
7.3.120.0100.01017.39
7.3.110.0070.01517.01
7.3.100.0080.01217.32
7.3.90.0030.00617.29
7.3.80.0100.01017.29
7.3.70.0070.00717.19
7.3.60.0160.00017.38
7.3.50.0090.00617.08
7.3.40.0060.01017.32
7.3.30.0060.00617.39
7.3.20.0100.00718.66
7.3.10.0070.00718.42
7.3.00.0000.01318.86
7.2.330.0100.01018.71
7.2.320.0090.00918.75
7.2.310.0130.00718.82
7.2.300.0160.00419.18
7.2.290.0090.00918.85
7.2.250.0120.00817.14
7.2.240.0110.01117.25
7.2.230.0070.00717.26
7.2.220.0030.01317.61
7.2.210.0090.00617.11
7.2.200.0030.01017.33
7.2.190.0040.01417.75
7.2.180.0030.01317.45
7.2.170.0030.01017.55
7.2.160.0000.01417.03
7.2.150.0070.01019.09
7.2.140.0030.01019.29
7.2.130.0100.00619.05
7.2.120.0080.00418.78
7.2.110.0120.00618.97
7.2.100.0150.00018.83
7.2.90.0040.01119.40
7.2.80.0030.00919.27
7.2.70.0120.00318.82
7.2.60.0070.01019.28
7.2.50.0100.01018.95
7.2.40.0060.01019.18
7.2.30.0030.01418.93
7.2.20.0000.01319.16
7.2.10.0060.00919.13
7.2.00.0070.00820.46
7.1.330.0100.01018.21
7.1.320.0080.00518.43
7.1.310.0090.00018.11
7.1.300.0070.00718.00
7.1.290.0000.01618.17
7.1.280.0100.00318.19
7.1.270.0120.00317.82
7.1.260.0000.01218.02
7.1.250.0090.00618.37
7.1.240.0030.01018.16
7.1.230.0070.00718.35
7.1.220.0060.01017.86
7.1.210.0070.00717.95
7.1.200.0060.00818.34
7.1.190.0100.01018.08
7.1.180.0030.00918.31
7.1.170.0030.00918.35
7.1.160.0060.01018.20
7.1.150.0110.00718.44
7.1.140.0060.00617.94
7.1.130.0070.00718.21
7.1.120.0060.00918.25
7.1.110.0070.00418.15
7.1.100.0050.00919.32
7.1.90.0040.00717.96
7.1.80.0030.00718.04
7.1.70.0030.01118.87
7.1.60.0100.00818.95
7.1.50.0030.01518.72
7.1.40.0090.00918.26
7.1.30.0090.00618.36
7.1.20.0040.01118.23
7.1.10.0100.00318.64
7.1.00.0030.04521.57
7.0.330.0030.00918.01
7.0.320.0070.00717.83
7.0.310.0030.01318.23
7.0.300.0080.00817.87
7.0.290.0060.01217.98
7.0.280.0180.00018.00
7.0.270.0030.01318.14
7.0.260.0090.00317.78
7.0.250.0030.00718.38
7.0.240.0090.00618.11
7.0.230.0070.00717.99
7.0.220.0140.00018.08
7.0.210.0040.01118.23
7.0.200.0180.01117.46
7.0.190.0090.00617.98
7.0.180.0040.01118.09
7.0.170.0000.01218.32
7.0.160.0030.00617.77
7.0.150.0040.01118.05
7.0.140.0030.01317.68
7.0.130.0060.00917.93
7.0.120.0030.00717.73
7.0.110.0090.00417.91
7.0.100.0070.01017.93
7.0.90.0040.00518.00
7.0.80.0110.00317.91
7.0.70.0100.00317.90
7.0.60.0050.04520.30
7.0.50.0020.04817.73
7.0.40.0030.02519.20
7.0.30.0130.02219.13
7.0.20.0210.02719.01
7.0.10.0080.03918.99
7.0.00.0070.04919.03
5.6.400.0060.00617.13
5.6.390.0070.00416.98
5.6.380.0040.01217.05
5.6.370.0090.00916.54
5.6.360.0000.01616.80
5.6.350.0120.00616.95
5.6.340.0030.01416.96
5.6.330.0030.00717.23
5.6.320.0070.00416.89
5.6.310.0070.00716.87
5.6.300.0000.01117.03
5.6.290.0030.01317.01
5.6.280.0050.02120.09
5.6.270.0100.00016.73
5.6.260.0040.01416.92
5.6.250.0100.00717.10
5.6.240.0040.01417.10
5.6.230.0070.00716.17
5.6.220.0040.00816.80
5.6.210.0090.04320.02
5.6.200.0120.03917.48
5.6.190.0100.01819.63
5.6.180.0100.03219.88
5.6.170.0200.04219.57
5.6.160.0040.04919.72
5.6.150.0030.04917.49
5.6.140.0020.02717.38
5.6.130.0110.03717.66
5.6.120.0030.04820.40
5.6.110.0100.04520.20
5.6.100.0080.05120.13
5.6.90.0080.02320.42
5.6.80.0070.04019.76
5.6.70.0060.00916.65
5.6.60.0070.00616.89
5.6.50.0060.00316.68
5.6.40.0040.01016.51
5.6.30.0090.00016.64
5.6.20.0070.00716.52
5.6.10.0100.00717.02
5.6.00.0180.00016.98
5.5.380.0090.00616.75
5.5.370.0060.01016.87
5.5.360.0070.00717.03
5.5.350.1270.01919.72
5.5.340.0050.03017.46
5.5.330.0080.04019.74
5.5.320.0020.04919.57
5.5.310.0160.02219.86
5.5.300.0070.03817.61
5.5.290.0070.04317.44
5.5.280.0110.04220.15
5.5.270.0050.05120.03
5.5.260.0050.04719.96
5.5.250.0130.04019.80
5.5.240.0170.04019.91
5.5.230.0130.00316.78
5.5.220.0140.00316.91
5.5.210.0040.01116.95
5.5.200.0060.00916.72
5.5.190.0090.00616.68
5.5.180.0040.01416.59
5.5.170.0040.01116.66
5.5.160.0070.00716.97
5.5.150.0030.01016.80
5.5.140.0030.00717.05
5.5.130.0030.00816.56
5.5.120.0060.00916.86
5.5.110.0070.00716.82
5.5.100.0060.00916.62
5.5.90.0030.01016.64
5.5.80.0060.01316.34
5.5.70.0040.01116.97
5.5.60.0070.00716.85
5.5.50.0090.00916.92
5.5.40.0040.01116.83
5.5.30.0000.00916.64
5.5.20.0040.00716.77
5.5.10.0070.00716.53
5.5.00.0110.00416.93

preferences:
47.76 ms | 401 KiB | 5 Q