3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = ['test' => ['2' => 'lol']]; if(!array_key_exists('test', $test) || !array_key_exists('test', $test['2'])) { echo "hello"; } var_dump(isset($test['lol']['lol']));
Output for 5.6.0 - 7.3.0alpha1
Notice: Undefined offset: 2 in /in/APD3t on line 5 Warning: array_key_exists() expects parameter 2 to be array, null given in /in/APD3t on line 5 hellobool(false)