check both OO and procedural style as "thread_id" is a property and not

a method in the OO interface
This commit is contained in:
Hartmut Holzgraefe 2006-07-11 07:21:27 +00:00
parent 0bf1cbe8d0
commit ecb58ee2cd

View file

@ -15,8 +15,21 @@ mysqli thread_id & kill
var_dump($mysql->ping());
$mysql->close();
$mysql = new mysqli($host, $user, $passwd, "test");
var_dump(mysqli_ping($mysql));
var_dump(mysqli_kill($mysql, mysqli_thread_id($mysql)));
var_dump(mysqli_ping($mysql));
$mysql->close();
?>
--EXPECT--
bool(true)
bool(true)
bool(false)
bool(true)
bool(true)
bool(false)