3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(isset($a)); var_dump(is_object($a)); $b = null; var_dump(isset($b)); var_dump(is_object($b));
Output for 5.0.4 - 7.2.0
bool(false) Notice: Undefined variable: a in /in/4IkZC on line 3 bool(false) bool(false) bool(false)
Output for 4.3.0 - 5.0.3
bool(false) Notice: Undefined variable: a in /in/4IkZC on line 3 bool(false) bool(false) bool(false)