(No version information available, might only be in Git)
Session::getClientId — Get client ID
Get ID of the connected client.
Diese Funktion hat keine Parameter.
ID of the connected client.
Beispiel #1 mysql_xdevapi\Session::getClientId() example
<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");
$clientid = $session->getClientId();
var_dump($clientid);
Das oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
int(53)