php-src/ext/mysqli/tests/034.phpt
Georg Richter 0b4c108bd7 Added new classes:
mysqli_driver
	mysqli_warning
	mysqli_exception
	mysqli_sql_exception

Improved embedded server support
changed testsuite to work also with embedded server

Made statement and resultset classes extendable

minor fixes
2005-01-07 14:59:59 +00:00

21 lines
370 B
PHP

--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)