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