Easy Tutorial
❮ Func Math Rand Func String Hex2Bin ❯

PHP mysqli_kill() Function

PHP MySQLi Reference Manual

Example

Returns the thread ID of the current connection, then kills the connection:


Definition and Usage

The mysqli_kill() function requests the server to kill a MySQL thread specified by the processid parameter.


Syntax

Parameter Description
connection Required. Specifies the MySQL connection to use.
processid Required. Specified by mysqli_thread_id()

Technical Details

Return Value: Returns TRUE on success, FALSE on failure.
PHP Version: 5+
--- ---
❮ Func Math Rand Func String Hex2Bin ❯