1--TEST--
2non freed statement (missing mysqli_stmt_close())
3--EXTENSIONS--
4mysqli
5--SKIPIF--
6<?php
7require_once dirname(__DIR__) . "/test_setup/test_helpers.inc";
8mysqli_check_skip_test();
9?>
10--FILE--
11<?php
12require_once dirname(__DIR__) . "/test_setup/test_helpers.inc";
13
14$link = default_mysqli_connect();
15
16$stmt = mysqli_prepare($link, "SELECT CURRENT_USER()");
17mysqli_stmt_execute($stmt);
18
19mysqli_close($link);
20printf("Ok\n");
21?>
22--EXPECT--
23Ok
24