3v4l.org

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

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.00016.22
8.3.50.0150.00016.26
8.3.40.0090.00618.59
8.3.30.0100.01018.46
8.3.20.0000.00720.07
8.3.10.0050.00323.53
8.3.00.0040.00422.30
8.2.180.0040.01118.04
8.2.170.0070.00722.96
8.2.160.0040.01122.07
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0090.00026.16
8.2.120.0050.00517.63
8.2.110.0040.00420.32
8.2.100.0000.01217.63
8.2.90.0040.00419.05
8.2.80.0030.00517.97
8.2.70.0000.00917.50
8.2.60.0090.00017.80
8.2.50.0090.00318.07
8.2.40.0050.00321.07
8.2.30.0000.00819.79
8.2.20.0000.00717.61
8.2.10.0000.00718.16
8.2.00.0040.00418.03
8.1.270.0030.00520.27
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00522.09
8.1.230.0040.00817.42
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0060.00317.22
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0050.00318.57
8.1.160.0040.00423.84
8.1.150.0070.00018.73
8.1.140.0050.00317.38
8.1.130.0050.00317.63
8.1.120.0040.00417.32
8.1.110.0000.00817.28
8.1.100.0000.00717.38
8.1.90.0040.00417.36
8.1.80.0030.00417.29
8.1.70.0000.00817.29
8.1.60.0030.00617.53
8.1.50.0000.00817.48
8.1.40.0040.00417.34
8.1.30.0040.00417.50
8.1.20.0000.00717.48
8.1.10.0070.00017.36
8.1.00.0000.01017.21
8.0.300.0040.00418.77
8.0.290.0040.00416.58
8.0.280.0030.00318.38
8.0.270.0000.00817.24
8.0.260.0060.00017.19
8.0.250.0030.00516.85
8.0.240.0050.00316.80
8.0.230.0040.00616.87
8.0.220.0050.00316.72
8.0.210.0050.00216.72
8.0.200.0070.00016.77
8.0.190.0090.00016.78
8.0.180.0040.00416.78
8.0.170.0040.00416.80
8.0.160.0080.00016.83
8.0.150.0000.00816.72
8.0.140.0020.00516.69
8.0.130.0030.00313.32
8.0.120.0040.00416.68
8.0.110.0040.00416.82
8.0.100.0030.00516.85
8.0.90.0030.00416.75
8.0.80.0120.00316.78
8.0.70.0000.00716.93
8.0.60.0040.00416.82
8.0.50.0000.00716.64
8.0.30.0120.00716.90
8.0.20.0110.00917.40
8.0.10.0000.00716.81
8.0.00.0090.00916.62
7.4.330.0000.00515.08
7.4.320.0030.00316.53
7.4.300.0000.00616.54
7.4.290.0030.00616.37
7.4.280.0000.00716.32
7.4.270.0030.00316.54
7.4.260.0080.00016.50
7.4.250.0040.00416.32
7.4.240.0040.00416.51
7.4.230.0000.00716.34
7.4.220.0090.00916.38
7.4.210.0070.01016.38
7.4.200.0000.00716.38
7.4.160.0080.00816.35
7.4.150.0060.01217.40
7.4.140.0100.01217.86
7.4.130.0080.01016.43
7.4.120.0140.00316.45
7.4.110.0130.00316.25
7.4.100.0140.00316.31
7.4.90.0120.00616.43
7.4.80.0120.00619.39
7.4.70.0100.00616.59
7.4.60.0060.01016.26
7.4.50.0000.00816.40
7.4.40.0060.01016.29
7.4.30.0150.02516.45
7.4.00.0060.00614.73
7.3.330.0000.00513.10
7.3.320.0030.00313.05
7.3.310.0070.00016.07
7.3.300.0000.00716.03
7.3.290.0070.01016.17
7.3.280.0100.00816.15
7.3.270.0100.00717.40
7.3.260.0170.00716.13
7.3.250.0110.00516.38
7.3.240.0150.00716.37
7.3.230.0100.00716.47
7.3.210.0030.01516.18
7.3.200.0070.00419.39
7.3.190.0090.01116.19
7.3.180.0060.00916.07
7.3.170.0100.01316.27
7.3.160.0140.00616.12
7.2.330.0150.00916.39
7.2.320.0140.00616.43
7.2.310.0070.01016.45
7.2.300.0070.01016.24
7.2.290.0060.01316.25
7.2.60.0050.01116.23
7.2.00.0000.01619.23
7.1.200.0080.00415.57
7.1.100.0070.00318.07
7.1.70.0030.02117.22
7.1.60.0100.01619.18
7.1.50.0130.01016.79
7.1.00.0070.07322.44
7.0.200.0000.00716.77
7.0.60.0100.07019.77
7.0.50.0000.04717.89
7.0.40.0000.05020.40
7.0.30.0170.04320.00
7.0.20.0330.06720.12
7.0.10.0170.07720.20
7.0.00.0130.03719.99
5.6.280.0030.06720.85
5.6.210.0100.03320.52
5.6.200.0070.04018.09
5.6.190.0100.03720.49
5.6.180.4130.03720.77
5.6.170.0270.06020.37
5.6.160.0130.07720.55
5.6.150.0070.07318.12
5.6.140.0100.07718.10
5.6.130.0030.05318.11
5.6.120.0000.05021.11
5.6.110.0030.09021.10
5.6.100.0070.04020.97
5.6.90.0170.07021.01
5.6.80.0070.07320.39
5.6.70.3630.03720.49
5.5.350.0200.05020.41
5.5.340.0170.06017.89
5.5.330.0070.08720.37
5.5.320.0030.07720.35
5.5.310.0200.04720.34
5.5.300.0070.08318.02
5.5.290.0100.03317.87
5.5.280.0130.05020.84
5.5.270.0100.08020.84
5.5.260.0130.07020.79
5.5.250.0170.07020.70
5.5.240.0170.08320.15
5.4.450.0800.05319.18
5.4.440.0730.06019.12
5.4.430.0730.05319.12
5.4.420.0770.05019.57
5.4.410.0770.05318.99
5.4.400.0900.03319.20
5.4.390.0770.05019.27
5.4.380.0800.04319.01
5.4.370.0900.05719.32
5.4.360.0700.06318.77
5.4.350.0870.06719.22
5.4.340.0830.05319.06
5.4.320.0870.05018.79
5.4.310.0800.05318.77
5.4.300.0900.05018.79
5.4.290.0800.06019.21
5.4.280.1000.04019.04
5.4.270.0800.05318.81
5.4.260.0800.05019.22
5.4.250.0870.05319.05
5.4.240.0830.04718.94
5.4.230.1030.05319.24
5.4.220.0870.06019.06
5.4.210.0670.06018.80
5.4.200.0730.06316.75
5.4.190.0770.05019.02
5.4.180.0770.05018.88
5.4.170.1030.04719.25
5.4.160.0770.05718.87
5.4.150.0730.06018.79
5.4.140.1000.05016.30
5.4.130.0700.05316.46
5.4.120.1030.05716.41
5.4.110.0930.05016.39
5.4.100.0900.04316.55
5.4.90.0730.06016.48
5.4.80.0630.05316.52
5.4.70.0630.05316.42
5.4.60.0330.07016.44
5.4.50.0000.03716.24
5.4.40.0270.06716.52
5.4.30.0370.06316.36
5.4.20.0230.04016.36

preferences:
63.93 ms | 400 KiB | 5 Q