OpenSwoole\Core\Coroutine\Client\MysqliClient->set_opt

25.x is outdated, please check the latest version 26.x


Latest version: pecl install openswoole-26.2.0

Declaration

<?php OpenSwoole\Core\Coroutine\Client\MysqliClient->set_opt()

Parameters

option

The option that you want to set, you can find at Mysqli option document

value

The value for the option

Return

Description

Set option of the Mysqli client.

Last updated on February 28, 2026