As of Version 8.0.17 the Session::listClients() method has not been implemented yet.
(No version information available, might only be in Git)
Session::listClients — Devuelve la lista de clientes
Devuelve la lista de conexiones de clientes al servidor MySQL de la sesión.
Esta función no contiene ningún parámetro.
Un array que contiene los clientes actualmente conectados. Los elementos del array son "client_id", "user", "host" y "sql_session".
Ejemplo #1 Ejemplo de mysql_xdevapi\Session::listClients()
<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");
$ids = $session->listClients();
var_dump($ids);
?>
Resultado del ejemplo anterior es similar a :
array(1) { [0]=> array(4) { ["client_id"]=> int(61) ["user"]=> string(4) "root" ["host"]=> string(9) "localhost" ["sql_session"]=> int(72) } }
As of Version 8.0.17 the Session::listClients() method has not been implemented yet.