3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $xyz[][][]=0; $abc = [ "MA" => [ "Zia Rehman" => [] ] ]; if(array_key_exists("Zia Rehman", $xyz)) { echo "hi"; $xyz['MA']['Zia Rehman'] = []; } var_dump($xyz);
based on 2hESe
Output for 5.6.0 - 7.3.0alpha1
array(1) { [0]=> array(1) { [0]=> array(1) { [0]=> int(0) } } }