src/FACTFinder/Core/Server/ConnectionData.php
public function setConnectionOptions($options)
    {
        // We cannot use array_merge() here, because that does not preserve
        // numeric keys. Implementing this with a loop also has the advantage
        // of not creating a new, third array.
        foreach ($options as $k => $v)
            $this->connectionOptions[$k] = $v;
    }
public function setConnectionOptions($options)
    {
        // We cannot use array_merge() here, because that does not preserve
        // numeric keys. Implementing this with a loop also has the advantage
        // of not creating a new, third array.
        foreach ($options as $k => $v)
            $this->connectionOptions[$k] = $v;
    }
Sets all given connection options at once. If an option with the same
name already exists, the old value will be replaced. Options that are not
contained in the $options parameter will retain their value(s).
@param mixed[] $options An array of options. For more information on
valid keys and values see setConnectionOption($name, $value).