mysqli_options

Supported Versions: PHP 5, PHP 7, PHP 8
Set options
<?php public mysqli::options(int $option, string|int $value): bool
<?php     public function initialize(mysqli $connection): void

    {

        foreach ($this->options as $option => $value) {

            if (! mysqli_options($connection, $option, $value)) {

                throw InvalidOption::fromOption($option, $value);

            }

        }