3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.10.0, 7.0.0 - 7.1.0
bool(false) Notice: Undefined variable: a in /in/4IkZC on line 3 bool(false) bool(false) bool(false)
Output for hhvm-3.12.0
bool(false) Notice: Undefined variable: a in /in/4IkZC on line -1 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)