blob: 34af7c0a56bc8a9f6fd9bedca3ea80b027760143 (
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_server_info
--FILE--
<?php
$user = "root";
$passwd = "";
/*** test mysqli_connect 127.0.0.1 ***/
$link = mysqli_connect("localhost", $user, $passwd);
$sinfo = substr(mysqli_get_server_info($link),0,1);
var_dump($sinfo);
mysqli_close($link);
?>
--EXPECT--
string(1) "4"
|