blob: ea31222ec73ae4668e9d4395100674ed1979843c (
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
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
include "connect.inc";
/*** test mysqli_connect 127.0.0.1 ***/
$link = mysqli_connect($host, $user, $passwd);
$sinfo = substr(mysqli_get_server_info($link),0,1);
var_dump(strlen($sinfo));
mysqli_close($link);
?>
--EXPECT--
int(1)
|