3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = ''; $b = ''; if(!empty($a) && isset($a[$b]['pqr'])){ print 'in switch'; } else { print 'Empty'; }
Output for 4.3.0 - 7.1.0
Empty