- print_r: documentation ( source)
<?php
$tests = array(
'test1' => array(
'11' => '11',
'22' => '22',
'33' => '33',
'44' => '44'
),
'test2' => array(
'44' => '44',
'55' => '55',
'66' => '66',
'77' => '77'
));
$new = array();
foreach( $tests as $test ) {
$new += $test;
}
print_r($new);