3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo bcmul(bcdiv(19.95 / 364), 364);
Output for 5.3.0 - 5.4.45, 5.5.35, 5.6.21 - 5.6.28, 7.0.6 - 7.2.6
Warning: bcdiv() expects at least 2 parameters, 1 given in /in/J6WuG on line 3 0
Output for 7.0.0 - 7.0.5
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.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 - 5.2.2
<br /> <b>Warning</b>: Wrong parameter count for bcdiv() in <b>/in/J6WuG</b> on line <b>3</b><br /> 0