3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 22900000.002827; $b = 0.022900; $c = $a/$b; echo " c=".$c; $d = bcdiv("$a", "$b", 5); echo " d=".$d; ?>
based on MuPfu
Output for 4.3.2 - 7.1.7
c=1000000000.1234 d=1000000000.12344
Output for 4.3.0 - 4.3.1
c=1000000000.1234 d=1000000000.12314