3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = ''; $b = 0; $c = null; var_dump($a != null); var_dump($b != null); var_dump($c != null); var_dump((bool) $a);
Output for 4.3.0 - 7.1.0
bool(false) bool(false) bool(false) bool(false)