3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $v = bcmul('1024.11', '0.21', 10); $x = 1024.11 * 0.21; echo serialize($v); echo serialize($x);
based on Q7rcG
Output for 7.3.0 - 7.3.1
s:14:"215.0631000000";d:215.06309999999996;
Output for 5.6.0 - 7.2.13
s:8:"215.0631";d:215.06309999999996;
Output for 5.4.0 - 5.5.38
Fatal error: Call to undefined function bcmul() in /in/kpoB8 on line 3
Process exited with code 255.
Output for 5.3.17 - 5.3.29
s:8:"215.0631";d:215.063099999999963074515;