(No version information available, might only be in Git)
Session::killClient — Kill the client
$client_id
) : objectKill the selected client and terminate the collection
锟斤拷锟斤拷锟斤拷锟斤拷未锟斤拷写锟侥碉拷锟斤拷锟斤拷锟叫诧拷锟斤拷锟叫憋拷
client_id
A connection's client ID.
Example #1 mysql_xdevapi\Session::killClient() example
<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");
$clientid = $session->getClientId();
// ...
$session->killClient($clientid);