3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php bcscale(60); $a = '1' ; $b = '0.00000001'; $result = bcdiv($a, $b); //var_dump($result); bcscale(60); $a = '1e-8' ; $b = '1'; $result = bcdiv($a, $b); var_dump($result);
Output for 4.3.0 - 5.4.45, 5.6.0 - 7.1.0
string(62) "0.000000000000000000000000000000000000000000000000000000000000"
Output for 5.5.0 - 5.5.38
Fatal error: Call to undefined function bcscale() in /in/AHbtv on line 3
Process exited with code 255.