summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/044.phpt
blob: 5f72f65e38ece430237656448dd17295476085e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
mysqli_get_server_version
--FILE--
<?php
	include "connect.inc";
	
	/*** test mysqli_connect 127.0.0.1 ***/
	$link = mysqli_connect("localhost", $user, $passwd);

	$i = mysqli_get_server_version($link);

	$test = $i / $i;

	var_dump($test);

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