php-src/ext/mysqli/tests/034.phpt

21 lines
370 B
Plaintext
Raw Normal View History

2003-02-12 00:46:29 +00:00
--TEST--
function test: mysqli_get_proto_info
2004-12-04 08:50:33 +00:00
--SKIPIF--
<?php require_once('skipif.inc'); ?>
<?php require_once('skipifemb.inc'); ?>
2003-02-12 00:46:29 +00:00
--FILE--
<?php
include "connect.inc";
2003-02-12 00:46:29 +00:00
/*** test mysqli_connect 127.0.0.1 ***/
$link = mysqli_connect($host, $user, $passwd);
2003-02-12 00:46:29 +00:00
$pinfo = mysqli_get_proto_info($link);
var_dump($pinfo);
mysqli_close($link);
?>
--EXPECT--
int(10)