3v4l.org

run code in 200+ 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"; } } ?>
based on 22H8q
Output for 4.3.0 - 7.2.0
inpMisc :: 0 :: name :: my stuffinpMisc :: 0 :: inpMiscOrdered :: 2inpMisc :: 0 :: inpMiscReceived :: 0