3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d = 0.0; $h = null; var_dump(0 === $d); var_dump(0.0 === $d); var_dump((float) $h); var_dump($d > 0); var_dump(0.0000000001 > 0);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
bool(false) bool(true) float(0) bool(false) bool(true)