3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c=35; $e=-ceil(log10($c)); $m=pow(10,$e); $r=$c*$m; echo($e."\n"); echo($m.' BTC = '.$r.' LTC'); ?>

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.0150.00018.33
8.3.50.0100.00822.00
8.3.40.0090.00618.95
8.3.30.0110.00419.52
8.3.20.0040.00420.29
8.3.10.0080.00022.48
8.3.00.0030.00522.83
8.2.180.0110.00716.63
8.2.170.0070.00722.96
8.2.160.0070.01421.19
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0080.00019.47
8.2.110.0000.00822.50
8.2.100.0000.01119.70
8.2.90.0040.00419.30
8.2.80.0030.00619.91
8.2.70.0110.00417.88
8.2.60.0080.00018.18
8.2.50.0030.00618.07
8.2.40.0040.00418.53
8.2.30.0070.00018.29
8.2.20.0040.00417.75
8.2.10.0060.00319.69
8.2.00.0040.00417.85
8.1.280.0090.00625.92
8.1.270.0000.00824.04
8.1.260.0080.00026.35
8.1.250.0030.00628.09
8.1.240.0070.00324.13
8.1.230.0060.00619.25
8.1.220.0050.00317.93
8.1.210.0000.00918.77
8.1.200.0000.00917.47
8.1.190.0000.00817.76
8.1.180.0000.00818.10
8.1.170.0030.00718.96
8.1.160.0000.00922.28
8.1.150.0040.00418.85
8.1.140.0000.01017.77
8.1.130.0000.00718.04
8.1.120.0040.00417.70
8.1.110.0050.00217.75
8.1.100.0040.00417.68
8.1.90.0040.00417.63
8.1.80.0030.00417.55
8.1.70.0030.00317.64
8.1.60.0030.00517.83
8.1.50.0040.00417.84
8.1.40.0000.00717.79
8.1.30.0070.00317.81
8.1.20.0040.00417.89
8.1.10.0030.00517.76
8.1.00.0040.00417.63
8.0.300.0040.00418.77
8.0.290.0000.00717.30
8.0.280.0000.00818.58
8.0.270.0070.00017.50
8.0.260.0000.00717.09
8.0.250.0070.00017.12
8.0.240.0040.00417.11
8.0.230.0070.00017.17
8.0.220.0070.00017.13
8.0.210.0020.00517.14
8.0.200.0030.00317.27
8.0.190.0030.00517.14
8.0.180.0000.00717.13
8.0.170.0040.00417.17
8.0.160.0050.00317.13
8.0.150.0000.00717.05
8.0.140.0050.00217.09
8.0.130.0050.00013.60
8.0.120.0040.00417.13
8.0.110.0050.00217.02
8.0.100.0020.00517.20
8.0.90.0040.00417.06
8.0.80.0100.01317.13
8.0.70.0000.00717.09
8.0.60.0040.00416.92
8.0.50.0040.00417.08
8.0.30.0110.00817.27
8.0.20.0090.01017.40
8.0.10.0000.00717.11
8.0.00.0130.00316.86
7.4.330.0050.00015.37
7.4.320.0000.00716.88
7.4.300.0000.00716.68
7.4.290.0040.00416.62
7.4.280.0030.00316.85
7.4.270.0070.00016.66
7.4.260.0030.00316.84
7.4.250.0050.00316.83
7.4.240.0000.00716.78
7.4.230.0000.00716.64
7.4.220.0100.00716.84
7.4.210.0100.00516.71
7.4.200.0050.00316.89
7.4.190.0030.00316.87
7.4.160.0110.00416.65
7.4.150.0060.01317.40
7.4.140.0080.01017.86
7.4.130.0110.00616.73
7.4.120.0080.01016.66
7.4.110.0060.01316.64
7.4.100.0060.01216.73
7.4.90.0130.00616.84
7.4.80.0090.00919.39
7.4.70.0080.00816.54
7.4.60.0130.00316.79
7.4.50.0060.00316.71
7.4.40.0070.01122.77
7.4.30.0110.00516.53
7.4.00.0080.00615.63
7.3.330.0000.00513.42
7.3.320.0020.00213.37
7.3.310.0040.00416.48
7.3.300.0000.00716.42
7.3.290.0030.01216.46
7.3.280.0090.00816.50
7.3.270.0090.00917.40
7.3.260.0110.00616.50
7.3.250.0140.00816.61
7.3.240.0100.00716.91
7.3.230.0070.01016.45
7.3.210.0080.00816.70
7.3.200.0140.00319.39
7.3.190.0070.01416.54
7.3.180.0100.00616.68
7.3.170.0040.01216.64
7.3.160.0090.00916.87
7.3.120.0000.01314.95
7.3.10.0060.00917.29
7.3.00.0050.00516.90
7.2.330.0170.00017.05
7.2.320.0140.00716.69
7.2.310.0070.01016.71
7.2.300.0100.00717.03
7.2.290.0110.00716.92
7.2.130.0110.00717.07
7.2.120.0070.00717.34
7.2.110.0060.00317.25
7.2.100.0140.00717.38
7.2.90.0030.01017.35
7.2.80.0000.01317.24
7.2.70.0130.00617.15
7.2.60.0050.00717.13
7.2.50.0030.01017.39
7.2.40.0120.00417.00
7.2.30.0090.00917.42
7.2.20.0040.01117.30
7.2.10.0030.00917.32
7.2.00.0030.01018.50
7.1.250.0060.00316.19
7.1.200.0090.00316.04
7.1.100.0070.00318.37
7.1.70.0050.00817.49
7.1.60.0070.01019.82
7.1.50.0000.01217.30
7.1.00.0070.09322.95
7.0.200.0040.01117.18
7.0.140.0000.07322.48
7.0.60.0100.06720.36
7.0.50.0070.04018.28
7.0.40.0130.08720.55
7.0.30.0270.04320.25
7.0.20.0270.08020.37
7.0.10.0200.06720.51
7.0.00.0130.07720.24
5.6.280.0130.06321.40
5.6.210.0130.07721.00
5.6.200.0030.07718.38
5.6.190.0130.07720.79
5.6.180.0070.04020.71
5.6.170.0200.06020.89
5.6.160.0070.04020.80
5.6.150.0030.04318.47
5.6.140.0000.08718.52
5.6.130.0070.09018.48
5.6.120.0130.06321.40
5.6.110.0100.06321.32
5.6.100.0170.07721.20
5.6.90.0130.08021.29
5.6.80.0030.08720.75
5.5.350.0130.07320.61
5.5.340.0070.08318.36
5.5.330.0000.04720.67
5.5.320.0200.08020.59
5.5.310.0230.04320.62
5.5.300.0000.08018.27
5.5.290.0030.05318.35
5.5.280.0000.04321.26
5.5.270.0100.05321.25
5.5.260.0070.05021.19
5.5.250.0200.07321.07
5.5.240.0000.08720.43
5.4.450.0300.04719.82
5.4.440.0530.04019.52
5.4.430.0400.04019.64
5.4.420.0530.04319.87
5.4.410.0070.05318.93
5.4.400.0100.05318.84
5.4.390.0200.07018.67
5.4.380.0200.04718.70
5.4.370.0330.03718.83
5.4.360.0200.05018.86
5.4.350.0230.05318.85
5.4.340.0230.04718.68
5.4.320.0060.03612.52
5.4.310.0090.03512.52
5.4.300.0050.03712.52
5.4.290.0070.04412.52
5.4.280.0060.03512.41
5.4.270.0050.03712.38
5.4.260.0020.04112.38
5.4.250.0050.03812.38
5.4.240.0030.03812.38
5.4.230.0040.03912.36
5.4.220.0070.03312.37
5.4.210.0040.03712.37
5.4.200.0040.03912.36
5.4.190.0040.04012.36
5.4.180.0050.03712.36
5.4.170.0080.05412.37
5.4.160.0030.04112.37
5.4.150.0050.04112.36
5.4.140.0010.04212.05
5.4.130.0050.03612.04
5.4.120.0080.03911.99
5.4.110.0050.03811.99
5.4.100.0050.03911.99
5.4.90.0090.04911.98
5.4.80.0080.03711.98
5.4.70.0060.03411.99
5.4.60.0050.03811.98
5.4.50.0060.03911.98
5.4.40.0060.03611.97
5.4.30.0070.04711.97
5.4.20.0050.05111.97
5.4.10.0070.03811.97
5.4.00.0030.04111.46
5.3.290.0040.04712.80
5.3.280.0050.04212.71
5.3.270.0070.03912.72
5.3.260.0030.04312.72
5.3.250.0070.04112.71
5.3.240.0080.03512.72
5.3.230.0090.03412.71
5.3.220.0080.04812.68
5.3.210.0060.03912.68
5.3.200.0050.04012.68
5.3.190.0110.06512.68
5.3.180.0080.06012.67
5.3.170.0150.05412.67
5.3.160.0060.04712.67
5.3.150.0080.03512.68
5.3.140.0040.03912.66
5.3.130.0090.03812.66
5.3.120.0080.03912.66
5.3.110.0110.03512.66
5.3.100.0040.04012.12
5.3.90.0070.03712.09
5.3.80.0080.03512.07
5.3.70.0070.03812.07
5.3.60.0060.04212.06
5.3.50.0080.03512.00
5.3.40.0050.03912.00
5.3.30.0040.03911.98
5.3.20.0040.03611.76
5.3.10.0020.03811.72
5.3.00.0070.04611.70
5.2.170.0040.0339.21
5.2.160.0070.0339.21
5.2.150.0020.0349.20
5.2.140.0040.0319.20
5.2.130.0040.0319.16
5.2.120.0090.0259.16
5.2.110.0030.0329.17
5.2.100.0030.0319.17
5.2.90.0050.0299.17
5.2.80.0040.0319.16
5.2.70.0040.0319.15
5.2.60.0030.0329.12
5.2.50.0030.0329.09
5.2.40.0030.0309.06
5.2.30.0080.0269.03
5.2.20.0050.0279.02
5.2.10.0050.0278.97
5.2.00.0030.0448.83
5.1.60.0060.0248.12
5.1.50.0010.0278.12
5.1.40.0040.0248.10
5.1.30.0050.0248.45
5.1.20.0030.0278.48
5.1.10.0050.0258.20
5.1.00.0020.0268.19
5.0.50.0040.0196.67
5.0.40.0040.0176.54
5.0.30.0040.0306.34
5.0.20.0040.0186.32
5.0.10.0050.0176.29
5.0.00.0010.0326.29
4.4.90.0020.0164.78
4.4.80.0020.0154.76
4.4.70.0030.0144.76
4.4.60.0020.0164.75
4.4.50.0030.0154.77
4.4.40.0040.0234.70
4.4.30.0030.0144.76
4.4.20.0030.0154.84
4.4.10.0030.0154.85
4.4.00.0030.0254.76
4.3.110.0040.0144.67
4.3.100.0030.0144.67
4.3.90.0010.0164.63
4.3.80.0040.0234.59
4.3.70.0030.0144.63
4.3.60.0020.0154.63
4.3.50.0040.0164.63
4.3.40.0030.0354.55
4.3.30.0030.0163.35
4.3.20.0040.0153.34
4.3.10.0030.0153.29
4.3.00.0100.01313.29

preferences:
41.88 ms | 401 KiB | 5 Q