3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(array(0.1 + 0.2, 0.3, 0.1 + 0.2 == 0.3, 0.1 + 0.2 === 0.3));
based on lBChm
Output for 4.3.0 - 7.2.0
array(4) { [0]=> float(0.3) [1]=> float(0.3) [2]=> bool(false) [3]=> bool(false) }