3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $foo = array(); var_dump(isset($foo->a)); var_dump(isset($foo->a->b[0]));
Output for 4.3.0 - 4.4.9, 5.1.6 - 7.1.0
bool(false) bool(false)
Output for 5.0.0 - 5.1.5
bool(false) Notice: Trying to get property of non-object in /in/QiPAV on line 6 Notice: Trying to get property of non-object in /in/QiPAV on line 6 bool(false)