Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8
                                                    Replaces elements from passed arrays into the first array recursively
                                                                <?php array_replace_recursive(array $array, array ...$replacements): array<?php             if ($config->get('capath')) {
                $httpDownloaderOptions['ssl']['capath'] = $config->get('capath');
            }
            $httpDownloaderOptions = array_replace_recursive($httpDownloaderOptions, $options);
        }
        try {
            $httpDownloader = new HttpDownloader($io, $config, $httpDownloaderOptions, $disableTls);<?php         }
        $this->options = array_replace_recursive($this->options, $options);
        $this->config = $config;
        if (self::isCurlEnabled()) {<?php     public function setOptions(array $options)
    {
        $this->options = array_replace_recursive($this->options, $options);
    }<?php     private function addJob($request, $sync = false)
    {
        $request['options'] = array_replace_recursive($this->options, $request['options']);
        $job = array(<?php         }
        $this->options = array_replace_recursive($this->options, $options);
        $this->config = $config;
        $this->authHelper = isset($authHelper) ? $authHelper : new AuthHelper($io, $config);
        $this->proxyManager = ProxyManager::getInstance();<?php     public function setOptions(array $options)
    {
        $this->options = array_replace_recursive($this->options, $options);
    }<?php             $headers[] = 'Accept-Encoding: gzip';
        }
        $options = array_replace_recursive($this->options, $tlsOptions, $additionalOptions);
        if (!$this->degradedMode) {<?php             'max_redirects' => 20,
        ));
        $options = array_replace_recursive($options, self::initOptions($url, $defaultOptions));
        unset($defaultOptions['http']['header']);
        $options = array_replace_recursive($options, $defaultOptions);<?php         $options = array_replace_recursive($options, self::initOptions($url, $defaultOptions));
        unset($defaultOptions['http']['header']);
        $options = array_replace_recursive($options, $defaultOptions);
        if (isset($options['http']['header'])) {
            $options['http']['header'] = self::fixHttpHeaderField($options['http']['header']);<?php                     $options['http']['header'][] = $proxyOptions['http']['header'];
                    unset($proxyOptions['http']['header']);
                }
                $options = array_replace_recursive($options, $proxyOptions);
            }
        }<?php         );
        if (isset($options['ssl'])) {
            $defaults['ssl'] = array_replace_recursive($defaults['ssl'], $options['ssl']);
        }