3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array(); $arr['inpMisc'] = array(); $arr['inpMisc'][0]['name'] = "my stuff"; $arr['inpMisc'][0]['inpMiscOrdered'] = "2"; $arr['inpMisc'][0]['inpMiscReceived'] = "0"; foreach ($arr as $category => $arrA) { foreach ($arrA as $idx => $arrB) { foreach ($arrB as $k => $v) echo "$category :: $idx :: $k :: $v <Br>\n"; } } ?>
based on ktUfQ
Output for 4.3.0 - 7.1.0
inpMisc :: 0 :: name :: my stuff <Br> inpMisc :: 0 :: inpMiscOrdered :: 2 <Br> inpMisc :: 0 :: inpMiscReceived :: 0 <Br>