MysqlndUhConnection::getThreadId
Returns the thread ID for the current connection
&reftitle.description;
public intMysqlndUhConnection::getThreadId
mysqlnd_connectionconnection
Returns the thread ID for the current connection.
&reftitle.parameters;
connection
Mysqlnd connection handle. Do not modify!
&reftitle.returnvalues;
Connection thread id.
&reftitle.examples;
MysqlndUhConnection::getThreadId example
thread_id);
?>
]]>
&example.outputs;
NULL,
))
proxy::getThreadId returns 27646
int(27646)
]]>
&reftitle.seealso;
mysqlnd_uh_set_connection_proxy
mysqli_thread_id
mysql_thread_id