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

22 lines
312 B
PHP

--TEST--
function test: mysqli_stat
--FILE--
<?php
$user = "root";
$passwd = "";
/*** test mysqli_connect 127.0.0.1 ***/
$link = mysqli_connect("localhost", $user, $passwd);
$status = mysqli_stat($link);
$x = explode(' ', $status);
var_dump(count($x));
mysqli_close($link);
?>
--EXPECT--
int(10)