blob: dde734a1e0190e13e2091f6b74e912e9be691bd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--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
|