Documentation Home
MySQL PHP API
Download this Manual
PDF (US Ltr) - 2.4Mb
PDF (A4) - 2.4Mb
HTML Download (TGZ) - 250.9Kb
HTML Download (Zip) - 258.4Kb


MySQL PHP API  /  ...  /  Session::__construct

5.28.3 Session::__construct

Copyright 1997-2019 the PHP Documentation Group.

  • Session::__construct

    Description constructor

Description

private mysql_xdevapi\Session::__construct();

A Session object, as initiated by getSession().

Parameters

This function has no parameters.

Examples

Example 5.113 mysql_xdevapi\Session::__construct example

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