3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Foo { } $a = new Foo(); $b = array(); var_dump(isset($a->b->c)); var_dump(isset($b['b']->d['c']));
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/UtA8h on line 7 bool(false)