3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "0"; var_dump($a != NULL); // "0" != "" var_dump((bool)$a == NULL); var_dump($a != NULL && (bool) $a == NULL);
Output for 4.3.0 - 7.3.0beta1
bool(true) bool(true) bool(true)