summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/034.phpt
blob: 468861c3c22f179b7e1888b83d8b213f0b524497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
function test: mysqli_get_proto_info
--SKIPIF--
<?php require_once('skipif.inc'); ?>
<?php require_once('skipifemb.inc'); ?>
--FILE--
<?php
	include "connect.inc";
	
	/*** test mysqli_connect 127.0.0.1 ***/
	$link = mysqli_connect($host, $user, $passwd);

	$pinfo = mysqli_get_proto_info($link);

	var_dump($pinfo);

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