3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $expected_array_got_string = 'einstring'; var_dump(isset($expected_array_got_string['und'])); var_dump(isset($expected_array_got_string['und'][0])); var_dump(isset($expected_array_got_string['und'][0]['test'])); var_dump(isset($expected_array_got_string['und']['test'][1])); var_dump(isset($expected_array_got_string['und']['test'][0]));
Output for 7.0.0 - 7.2.0
bool(false) bool(false) bool(false) bool(false) bool(false)
Output for 5.5.0 - 5.6.28
bool(false) bool(true) bool(false) bool(false) bool(true)