3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 0.1 + 0.2; $a -= 0.1; $b = 0.2; var_dump(array($a == $b, $a - 0.2, $b - 0.2));
based on 6kPgX
Output for 4.3.0 - 7.1.7
array(3) { [0]=> bool(false) [1]=> float(2.7755575615629E-17) [2]=> float(0) }