php8.5
Home/ Manual/ mysql_xdevapi / session/ Session::__construct

Session::__construct

PHP function Edit on GitHub ✎

Description constructor

Description

mysql_xdevapi\Session::__construct()

A Session object, as initiated by getSession().

Parameters Parameters

Examples

mysql_xdevapi\Session::__construct() example

php
<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");
$session->close();
?>

Source: reference/mysql_xdevapi/mysql_xdevapi/session/construct.xml · from the official PHP manual (php/doc-en)