3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array( 'alevel1key1' => array( 'alevel2key1' => 'alevel2value1', 'alevel2key2' => array( 'alevel3key1' => 'alevel3value1', 'alevel3key2' => 'alevel3value2', ), ), 'blevel1key2' => array( 'blevel2key1' => 'blevel2value1' ), ); echo $array['alevel1key1']['alevel2key2']['alevel3key2'];
based on q4ZtL
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
alevel3value2