MysqlndUhConnection::setServerOption
Sets a server option
&reftitle.description;
public voidMysqlndUhConnection::setServerOption
mysqlnd_connectionconnection
intoption
Sets a server option.
&reftitle.parameters;
connection
Mysqlnd connection handle. Do not modify!
option
The option to be set.
&reftitle.returnvalues;
Returns &true; on success.
Otherwise, returns &false;
&reftitle.examples;
MysqlndUhConnection::setServerOption example
multi_query("SELECT 1; SELECT 2");
?>
]]>
&example.outputs;
NULL,
1 => 0,
))
Option 'MYSQLND_UH_SERVER_OPTION_MULTI_STATEMENTS_ON' set
proxy::setServerOption returns true
]]>
&reftitle.seealso;
mysqlnd_uh_set_connection_proxy
mysqli_real_connect
mysqli_options
mysqli_multi_query