3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dividend = "0.0075"; $divisor = "0.0004"; $mod = bcdiv($dividend, $divisor); var_dump($mod);
based on 1vRk7
Output for 5.3.22 - 5.4.45, 5.6.0 - 7.3.0
string(2) "18"
Output for 5.5.0 - 5.5.38
Fatal error: Call to undefined function bcdiv() in /in/Tqpjg on line 6
Process exited with code 255.