(No version information available, might only be in Git)
Session::getClientId — Get client ID
Get ID of the connected client.
Această funcție nu are parametri.
ID of the connected client.
Example #1 mysql_xdevapi\Session::getClientId() example
<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");
$clientid = $session->getClientId();
var_dump($clientid);
Exemplul de mai sus va afișa ceva similar cu:
int(53)