3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $c = 0.27; $a = round(28*$c+28*$c*(0.0/100),8); $b = round(0.27*28,8); var_dump($a-($b-0.0)); var_dump($a); var_dump($b);
based on 6Po1e
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
float(0) float(7.56) float(7.56)
Output for hhvm-3.10.0

Process exited with code 153.