public static function arrayMultiMergeKeys()
    {
        $args = func_get_args();

        $result = array ();
        foreach ($args as $array) {
            foreach ($array as $key => $row) {
                foreach ($row as $name => $value) {
                    $result[$key][$name] = $value;
                }
            }
        }
        return $result;
    }
public static function arrayMultiMergeKeys()
    {
        $args = func_get_args();

        $result = array ();
        foreach ($args as $array) {
            foreach ($array as $key => $row) {
                foreach ($row as $name => $value) {
                    $result[$key][$name] = $value;
                }
            }
        }
        return $result;
    }
public static function arrayMultiMergeKeys ( ) { $ args = func_get_args ( ) ; $ result = array ( ) ; foreach ( $ args as $ array ) { foreach ( $ array as $ key => $ row ) { foreach ( $ row as $ name => $ value ) { $ result [ $ key ] [ $ name ] = $ value ; } } } return $ result ; }
Performs a recursive array_merge. Keys with the same value will be over-written with the later value

Given arguments like:
$one = ['key' => ['name' => value], 'key2' => ['name2' => value2] ]
$two = ['key' => ['name' => value2], 'key4' => ['name4' => value4] ]

Transform them into an array like:
[key => ['name' => value2], 'key2' => ['name2' => value2], 'key4' => ['name4' => value4]]

@params array Two or more multi-dimensional arrays

@return void
Performs a recursive array_merge . Keys with the same value will be over - written with the later value