3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number = '12.3496'; $result = bcmul($number, '1', 3); var_dump(number_format($result, 2, '-', '_'));

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.0140.00716.50
8.3.50.0110.01116.57
8.3.40.0090.00918.79
8.3.30.0100.00718.73
8.3.20.0000.00720.21
8.3.10.0040.00423.73
8.3.00.0050.00222.52
8.2.180.0000.01516.38
8.2.170.0120.00322.96
8.2.160.0120.00322.30
8.2.150.0050.00224.18
8.2.140.0040.00424.66
8.2.130.0000.00926.16
8.2.120.0060.00317.75
8.2.110.0110.00021.08
8.2.100.0060.00617.75
8.2.90.0030.00619.06
8.2.80.0050.00317.97
8.2.70.0050.00317.50
8.2.60.0050.00317.92
8.2.50.0050.00518.07
8.2.40.0050.00321.10
8.2.30.0040.00419.91
8.2.20.0050.00217.66
8.2.10.0000.00717.93
8.2.00.0040.00418.21
8.1.280.0100.00725.92
8.1.270.0040.00420.13
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00319.09
8.1.230.0080.00417.42
8.1.220.0060.00317.74
8.1.210.0080.00018.77
8.1.200.0030.00617.36
8.1.190.0030.00617.22
8.1.180.0050.00218.10
8.1.170.0050.00318.46
8.1.160.0000.00823.84
8.1.150.0070.00018.87
8.1.140.0040.00417.43
8.1.130.0000.00717.73
8.1.120.0030.00517.48
8.1.110.0000.00817.41
8.1.100.0040.00417.44
8.1.90.0030.00317.29
8.1.80.0040.00417.50
8.1.70.0000.00817.38
8.1.60.0050.00317.49
8.1.50.0000.00717.45
8.1.40.0040.00417.48
8.1.30.0030.00617.58
8.1.20.0020.00517.66
8.1.10.0070.00017.38
8.1.00.0040.00817.43
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0000.00718.43
8.0.270.0070.00016.80
8.0.260.0030.00317.23
8.0.250.0040.00416.90
8.0.240.0000.00816.95
8.0.230.0060.00316.90
8.0.220.0040.00416.89
8.0.210.0030.00316.79
8.0.200.0070.00016.86
8.0.190.0030.00516.95
8.0.180.0000.00816.94
8.0.170.0040.00416.74
8.0.160.0080.00016.86
8.0.150.0040.00416.90
8.0.140.0040.00416.73
8.0.130.0030.00313.27
8.0.120.0040.00416.86
8.0.110.0040.00416.87
8.0.100.0040.00416.88
8.0.90.0040.00416.72
8.0.80.0090.00616.94
8.0.70.0000.00716.74
8.0.60.0040.00416.89
8.0.50.0040.00416.89
8.0.30.0110.00817.13
8.0.20.0180.00517.40
8.0.10.0040.00416.91
8.0.00.0110.00816.75
7.4.330.0050.00015.14
7.4.320.0060.00016.39
7.4.300.0000.00616.49
7.4.290.0060.00316.51
7.4.280.0040.00416.52
7.4.270.0000.00716.55
7.4.260.0040.00416.50
7.4.250.0000.00716.36
7.4.240.0050.00216.60
7.4.230.0030.00316.70
7.4.220.0060.01816.50
7.4.210.0070.00716.62
7.4.200.0050.00316.48
7.4.160.0030.01216.41
7.4.150.0140.00417.40
7.4.140.0070.01117.86
7.4.130.0140.00516.46
7.4.120.0140.00516.46
7.4.110.0130.00416.65
7.4.100.0090.00916.46
7.4.90.0100.00716.43
7.4.80.0110.01119.39
7.4.70.0110.00616.44
7.4.60.0030.01616.41
7.4.50.0050.00316.49
7.4.40.0060.01016.21
7.4.30.0160.00616.64
7.4.00.0050.00814.58
7.3.330.0050.00013.18
7.3.320.0000.00513.06
7.3.310.0030.00316.07
7.3.300.0030.00316.11
7.3.290.0060.01016.18
7.3.280.0110.00716.19
7.3.270.0100.00917.40
7.3.260.0070.01016.38
7.3.250.0130.00816.31
7.3.240.0120.00916.17
7.3.230.0100.00716.39
7.3.210.0060.01616.09
7.3.200.0130.00919.39
7.3.190.0070.01416.26
7.3.180.0120.00316.16
7.3.170.0090.01116.27
7.3.160.0100.01016.36
7.2.330.0060.01216.43
7.2.320.0110.00616.67
7.2.310.0130.00416.30
7.2.300.0060.00916.30
7.2.290.0070.02016.66
7.2.60.0070.00416.12
7.2.00.0030.00919.05
7.1.200.0090.00315.55
7.1.100.0080.00317.98
7.1.70.0040.00416.79
7.1.60.0140.01019.18
7.1.50.0130.00616.83
7.1.00.0000.07722.54
7.0.200.0090.00016.64
7.0.60.0030.05020.04
7.0.50.0170.03317.87
7.0.40.0130.08020.06
7.0.30.0600.05320.21
7.0.20.0200.08720.17
7.0.10.0000.04720.04
7.0.00.0070.05720.16
5.6.280.0070.06321.06
5.6.210.0030.04320.72
5.6.200.0130.08018.08
5.6.190.0000.04720.57
5.6.180.3870.03720.47
5.6.170.0330.03320.51
5.6.160.0030.09020.38
5.6.150.0070.04718.15
5.6.140.0100.07718.20
5.6.130.0070.07318.21
5.6.120.0100.08720.98
5.6.110.0070.08020.97
5.6.100.0030.04320.96
5.6.90.0070.08021.11
5.6.80.0030.06020.28
5.6.70.3800.03320.47
5.5.350.0200.08020.46
5.5.340.0000.07018.02
5.5.330.0170.04020.29
5.5.320.3630.04720.22
5.5.310.0030.05020.30
5.5.300.0030.08317.92
5.5.290.0000.04717.89
5.5.280.0100.07720.64
5.5.270.0070.03720.95
5.5.260.0130.05020.82
5.5.250.0100.06320.57
5.5.240.0230.07720.15
5.4.450.0100.07019.58
5.4.440.0830.07319.37
5.4.430.0830.06719.34
5.4.420.0830.04719.40
5.4.410.0770.06319.48
5.4.400.0870.05719.05
5.4.390.1030.05319.04
5.4.380.0700.06018.79
5.4.370.0770.06719.08
5.4.360.0470.07019.20
5.4.350.0670.07719.28
5.4.340.0770.07319.25
5.4.320.0470.08319.25
5.4.310.1230.08319.22
5.4.300.1000.08019.01
5.4.290.0200.07318.79
5.4.280.0800.07319.31
5.4.270.0900.06718.79
5.4.260.0800.06318.79
5.4.250.0800.06719.21
5.4.240.1070.07018.79
5.4.230.1000.08019.31
5.4.220.0600.08018.79
5.4.210.0830.07019.12
5.4.200.1070.06016.84
5.4.190.0830.05718.95
5.4.180.1030.05718.95
5.4.170.0830.06718.91
5.4.160.0930.07019.20
5.4.150.1100.06018.94
5.4.140.0770.05316.46
5.4.130.0900.07316.28
5.4.120.1070.07316.32
5.4.110.1030.07016.27
5.4.100.0930.07316.29
5.4.90.1170.06016.27
5.4.80.0730.08016.27
5.4.70.0830.06016.52
5.4.60.0230.04716.48
5.4.50.0000.03716.26
5.4.40.0230.03316.28
5.4.30.0270.04316.18
5.4.20.0300.06316.52

preferences:
52.74 ms | 400 KiB | 5 Q