3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = null; var_dump(empty( $var )); var_dump( isset( $var ) && $var == NULL ); var_dump(is_null($var)); var_dump($var === NULL);
Output for 4.3.0 - 7.1.0
bool(true) bool(false) bool(true) bool(true)