Session::getClientId

(No version information available, might only be in Git)

Session::getClientIdGet client ID

Beschreibung

public mysql_xdevapi\Session::getClientId ( void ) : integer

Get ID of the connected client.

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

ID of the connected client.

Beispiele

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)