3v4l.org

run code in 150+ 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, 0.3 == 0.3));
based on PkMXL
Output for 4.3.0 - 7.1.0
array(5) { [0]=> float(0.3) [1]=> float(0.3) [2]=> bool(false) [3]=> bool(false) [4]=> bool(true) }