3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = new stdClass(); $x->a = 1; $y = ['a'=>1]; var_dump(isset($x->a->b->c)); var_dump(isset($y['a']['b']['c'])); var_dump(empty($x->a->b->c));
based on 1ShRW
Output for 5.6.38 - 7.3.0rc3
bool(false) bool(false) bool(true)