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 $idxA => $valA) { foreach ($valA as $idxB => $valB) { echo "$idxA :: $valA :: $idxB :: $valB"; } } ?>
Output for 5.4.0 - 7.1.0
Notice: Array to string conversion in /in/22H8q on line 13 Notice: Array to string conversion in /in/22H8q on line 13 inpMisc :: Array :: 0 :: Array
Output for 4.3.0 - 5.3.29
inpMisc :: Array :: 0 :: Array