PHP - Manual: Client::__construct
2024-11-13
(No version information available, might only be in Git)
Client::__construct — Client constructor
Construct a client object.
此函数没有参数。
示例 #1 mysql_xdevapi\Client::__construct() example
<?php
$pooling_options = '{
"enabled": true,
"maxSize": 10,
"maxIdleTime": 3600,
"queueTimeOut": 1000
}';
$client = mysql_xdevapi\getClient($connection_uri, $pooling_options);
$session = $client->getSession();
官方地址:https://www.php.net/manual/en/mysql-xdevapi-client.construct.php