<?php $data = array();$jim = array('Jim'=>1);$bob = array('Bob'=>1);$data['abc'][] = $jim;$data['abc'][] = $bob; print_r($data);?>
Standard input is empty
Array ( [abc] => Array ( [0] => Array ( [Jim] => 1 ) [1] => Array ( [Bob] => 1 ) ) )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!