I have an array:
$form['info'] = array(...);
$form['container'] = array(...);
and I have another array:
$container['item_1'] = array(...);
$container['item_2'] = array(...);
I would like to get a structure like this:
$form['info']
$form['container']['...']
$form['container']['item_1']
$form['container']['item_2']
How could I merge $form and $container array to achieve this? I need to nest/add all items from $container array into $form['container'] variable. array_merge() does not seems to work this way.
array_merge()?