3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo bcmul(bcdiv(19.95 / 364), 364);
Output for 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Fatal error: Uncaught ArgumentCountError: bcdiv() expects at least 2 arguments, 1 given in /in/J6WuG:3 Stack trace: #0 /in/J6WuG(3): bcdiv(0.054807692307692) #1 {main} thrown in /in/J6WuG on line 3
Process exited with code 255.
Output for 7.0.0 - 7.0.5, 7.3.32 - 7.3.33, 7.4.26, 7.4.33, 8.0.13
Fatal error: Uncaught Error: Call to undefined function bcmul() in /in/J6WuG:3 Stack trace: #0 {main} thrown in /in/J6WuG on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.35, 5.6.21 - 5.6.28, 7.0.6 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.12 - 7.3.31, 7.4.0 - 7.4.25, 7.4.27 - 7.4.32
Warning: bcdiv() expects at least 2 parameters, 1 given in /in/J6WuG on line 3 0
Output for 5.5.0 - 5.5.34, 5.6.0 - 5.6.20
Fatal error: Call to undefined function bcmul() in /in/J6WuG on line 3
Process exited with code 255.
Output for 5.2.3 - 5.2.17
Warning: Wrong parameter count for bcdiv() in /in/J6WuG on line 3 0
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.2
<br /> <b>Warning</b>: Wrong parameter count for bcdiv() in <b>/in/J6WuG</b> on line <b>3</b><br /> 0

preferences:
208.31 ms | 402 KiB | 345 Q