mirror of
https://github.com/php/php-src.git
synced 2024-12-12 03:15:29 +08:00
24 lines
419 B
PHP
24 lines
419 B
PHP
--TEST--
|
|
function test: mysqli_stat
|
|
--SKIPIF--
|
|
<?php
|
|
require_once('skipif.inc');
|
|
require_once('skipifconnectfailure.inc');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
require_once("connect.inc");
|
|
|
|
/*** test mysqli_connect 127.0.0.1 ***/
|
|
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
|
|
|
$status = mysqli_stat($link);
|
|
|
|
var_dump(strlen($status) > 0);
|
|
|
|
mysqli_close($link);
|
|
print "done!";
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|
|
done!
|