3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = NULL; $b = NULL; $c = NULL; var_dump(isset($a)); var_dump(isset($b)); var_dump(empty($c)); var_dump(empty($d)); var_dump($d);
Output for 5.0.4 - 7.1.0
bool(false) bool(false) bool(true) bool(true) Notice: Undefined variable: d in /in/m9i8l on line 11 NULL
Output for 4.3.0 - 5.0.3
bool(false) bool(false) bool(true) bool(true) Notice: Undefined variable: d in /in/m9i8l on line 11 NULL