summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/035.phpt
blob: a02af059d8feb6fc6a3c5aa67e0fe04d615660fc (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(strlen($sinfo));

	mysqli_close($link);
?>
--EXPECT--
int(1)