1--TEST-- 2free nothing 3--SKIPIF-- 4<?php 5require_once('skipif.inc'); 6require_once('skipifconnectfailure.inc'); 7?> 8--FILE-- 9<?php 10 require_once("connect.inc"); 11 12 /************************ 13 * don't free anything 14 ************************/ 15 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 16 17 $result2 = mysqli_query($link, "SELECT CURRENT_USER()"); 18 $stmt2 = mysqli_prepare($link, "SELECT CURRENT_USER()"); 19 printf("Ok\n"); 20?> 21--EXPECT-- 22Ok 23