3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(0.0000); var_dump(0.0000 === 0.0000000); var_dump(0.0000 == '0'); $var = 0.0000; var_dump(empty($var)); $var = '0.0000'; var_dump(empty($var));
Output for 4.3.0 - 7.1.0
float(0) bool(true) bool(true) bool(true) bool(false)