3v4l.org

run code in 200+ PHP versions simultaneously
<?php $a = bcmul('0.9', '-0.1', 1); $b = bcmul('0.90', '-0.1', 1); var_dump(bccomp($a, $b), $a, $b);
Output for 7.1.25 - 7.3.5
int(0) string(3) "0.0" string(4) "-0.0"