ok

Mini Shell

Direktori : /home2/selectio/www/myclassicfit.com/vendor/facade/flare-client-php/src/
Upload File :
Current File : /home2/selectio/www/myclassicfit.com/vendor/facade/flare-client-php/src/helpers.php

<?php

if (! function_exists('array_merge_recursive_distinct')) {
    function array_merge_recursive_distinct(array &$array1, array &$array2)
    {
        $merged = $array1;
        foreach ($array2 as $key => &$value) {
            if (is_array($value) && isset($merged[$key]) && is_array($merged[$key])) {
                $merged[$key] = array_merge_recursive_distinct($merged[$key], $value);
            } else {
                $merged[$key] = $value;
            }
        }

        return $merged;
    }
}

Zerion Mini Shell 1.0