mirror of
https://github.com/php/php-src.git
synced 2025-01-07 11:34:09 +08:00
0b4c108bd7
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
21 lines
370 B
PHP
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)
|