public static function arrMergeAll(array &$arr, $arr2)
    {
        if (is_array($arr2)) {
            foreach ($arr2 as $key => $val) {
                $arr[$key] = $val;
            }
        } else {
            $arr[] = $arr2;
        }

        return $arr;
    }
public static function arrMergeAll(array &$arr, $arr2)
    {
        if (is_array($arr2)) {
            foreach ($arr2 as $key => $val) {
                $arr[$key] = $val;
            }
        } else {
            $arr[] = $arr2;
        }

        return $arr;
    }
public static function arrMergeAll ( array & $ arr , $ arr2 ) { if ( is_array ( $ arr2 ) ) { foreach ( $ arr2 as $ key => $ val ) { $ arr [ $ key ] = $ val ; } } else { $ arr [ ] = $ arr2 ; } return $ arr ; }
merge all array, if it has the same key number, the value will override
@param array $arr
@param $arr2
@return array
merge all array if it has the same key number the value will override