Documentation Home
MySQL PHP API
Download this Manual
PDF (US Ltr) - 2.4Mb
PDF (A4) - 2.4Mb
HTML Download (TGZ) - 250.9Kb
HTML Download (Zip) - 258.4Kb


MySQL PHP API  /  ...  /  Session::killClient

5.28.12 Session::killClient

Copyright 1997-2019 the PHP Documentation Group.

  • Session::killClient

    Kill 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 5.122 mysql_xdevapi\Session::killClient example

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

$clientid = $session->getClientId();

// ...

$session->killClient($clientid);