Session::getClientId

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

Session::getClientIdGet client ID

说锟斤拷

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

Get ID of the connected client.

锟斤拷锟斤拷

锟剿猴拷锟斤拷没锟叫诧拷锟斤拷锟斤拷

锟斤拷锟斤拷值

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);

锟斤拷锟斤拷锟斤拷锟教碉拷锟斤拷锟斤拷锟斤拷锟斤拷冢锟�

int(53)