1--TEST-- 2non freed statement test 3--EXTENSIONS-- 4mysqli 5--SKIPIF-- 6<?php 7require_once('skipifconnectfailure.inc'); 8?> 9--FILE-- 10<?php 11 require_once("connect.inc"); 12 13 /************************ 14 * non freed stamement 15 ************************/ 16 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 17 18 $stmt = mysqli_prepare($link, "SELECT CURRENT_USER()"); 19 mysqli_stmt_execute($stmt); 20 21 mysqli_close($link); 22 printf("Ok\n"); 23?> 24--EXPECT-- 25Ok 26