1--TEST--
2mysqli_get_proto_info()
3--EXTENSIONS--
4mysqli
5--SKIPIF--
6<?php
7require_once('skipifconnectfailure.inc');
8?>
9--FILE--
10<?php
11    require_once("connect.inc");
12
13    require "table.inc";
14    if (!is_int($info = mysqli_get_proto_info($link)) || ($info < 1))
15        printf("[003] Expecting int/any_non_empty, got %s/%s\n", gettype($info), $info);
16
17    print "done!";
18?>
19--EXPECT--
20done!
21