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

24 lines
413 B
Plaintext
Raw Normal View History

2003-02-12 00:46:29 +00:00
--TEST--
function test: mysqli_stat
2004-12-04 08:50:33 +00:00
--SKIPIF--
<?php
require_once('skipif.inc');
2007-10-10 10:07:46 +00:00
require_once('skipifconnectfailure.inc');
?>
2003-02-12 00:46:29 +00:00
--FILE--
<?php
include "connect.inc";
2007-10-10 10:07:46 +00:00
2003-02-12 00:46:29 +00:00
/*** test mysqli_connect 127.0.0.1 ***/
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
2003-02-12 00:46:29 +00:00
$status = mysqli_stat($link);
2004-02-17 07:45:15 +00:00
var_dump(strlen($status) > 0);
2003-02-12 00:46:29 +00:00
mysqli_close($link);
2007-10-10 10:07:46 +00:00
print "done!";
2003-02-12 00:46:29 +00:00
?>
--EXPECT--
2004-02-17 07:45:15 +00:00
bool(true)
2007-10-10 10:07:46 +00:00
done!