mysql_xdevapi\Session
PHP Manual

Session::killClient

(No version information available, might only be in Git)

Session::killClientKill the client

Description

public object mysql_xdevapi\Session::killClient ( integer $client_id )

Kill the selected client and terminate the collection

Warning

This function is currently not documented; only its argument list is available.

Parameters

client_id

A connection's client ID.

Return Values

Examples

Example #1 mysql_xdevapi\Session::killClient() example

<?php
$session 
mysql_xdevapi\getSession("mysqlx://user:password@localhost");

$clientid $session->getClientId();

// ...

$session->killClient($clientid);

mysql_xdevapi\Session
PHP Manual