php-src/ext/mysqli/tests/034.phpt
2003-02-12 00:46:29 +00:00

20 lines
297 B
PHP

--TEST--
function test: mysqli_get_proto_info
--FILE--
<?php
$user = "root";
$passwd = "";
/*** test mysqli_connect 127.0.0.1 ***/
$link = mysqli_connect("localhost", $user, $passwd);
$pinfo = mysqli_get_proto_info($link);
var_dump($pinfo);
mysqli_close($link);
?>
--EXPECT--
int(10)