blob: e3d8d159d0c1cfb5bc1297d8d8cb09781c5fdc1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--TEST--
function test: mysqli_get_host_info
--FILE--
<?php
$user = "root";
$passwd = "";
/*** test mysqli_connect 127.0.0.1 ***/
$link = mysqli_connect("localhost", $user, $passwd);
$hinfo = mysqli_get_host_info($link);
var_dump($hinfo);
mysqli_close($link);
?>
--EXPECT--
string(25) "Localhost via UNIX socket"
|