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.1 + 0.2 == 0.1 + 0.2));
based on CfXmC
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
array(5) { [0]=> float(0.3) [1]=> float(0.3) [2]=> bool(false) [3]=> bool(false) [4]=> bool(true) }
Output for hhvm-3.10.0

Process exited with code 153.