PHP - Manual: Session::__construct
2024-11-14
(No version information available, might only be in Git)
Session::__construct — Description constructor
A Session object, as initiated by getSession().
此函数没有参数。
示例 #1 mysql_xdevapi\Session::__construct() example
<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");
$session->close();
?>
官方地址:https://www.php.net/manual/en/mysql-xdevapi-session.construct.php