3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $v = array(); $d = new stdClass(); var_dump(isset($v[$d]));
Output for 5.1.0 - 7.1.0
Warning: Illegal offset type in isset or empty in /in/FGLTU on line 6 bool(false)
Output for 5.0.0 - 5.0.5
Warning: Illegal offset type in unset in /in/FGLTU on line 6 bool(false)
Output for 4.3.0 - 4.4.9
Warning: Illegal offset type in /in/FGLTU on line 6 bool(false)