3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array( 'Delivery_Methods' => array( 'Delivery_Method' => array( array( 'Type' => 'Share_Drive', 'Share_Drive_Info' => array( 'Address' => 'localhost', 'Username' => 'myusername', 'Password' => '823098201938' ) ) ) ) ); var_dump($arr); /* foreach($arr as $k => $v){ echo "$k => " . "$v" . "\r\n"; } */
Output for 4.3.0 - 7.1.0
array(1) { ["Delivery_Methods"]=> array(1) { ["Delivery_Method"]=> array(1) { [0]=> array(2) { ["Type"]=> string(11) "Share_Drive" ["Share_Drive_Info"]=> array(3) { ["Address"]=> string(9) "localhost" ["Username"]=> string(10) "myusername" ["Password"]=> string(12) "823098201938" } } } } }