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

21 lines
388 B
Plaintext
Raw Normal View History

2003-02-17 23:29:58 +00:00
--TEST--
free statement after close
--FILE--
<?php
include "connect.inc";
/************************
* free statement after close
************************/
$link = mysqli_connect("localhost", $user, $passwd);
$stmt1 = mysqli_prepare($link, "SELECT CURRENT_USER()");
mysqli_execute($stmt1);
mysqli_close($link);
mysqli_stmt_close($stmt1);
printf("Ok\n");
?>
--EXPECT--
Ok