(No version information available, might only be in Git)
Session::getClientId — Get client ID
Get ID of the connected client.
Esta função não possui parâmetros.
ID of the connected client.
Exemplo #1 mysql_xdevapi\Session::getClientId() example
<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");
$clientid = $session->getClientId();
var_dump($clientid);
O exemplo acima irá imprimir algo similar à:
int(53)