mirror of
https://github.com/php/php-src.git
synced 2024-10-19 07:22:40 +00:00
18 lines
349 B
Plaintext
18 lines
349 B
Plaintext
|
--TEST--
|
||
|
free nothing
|
||
|
--FILE--
|
||
|
<?php
|
||
|
include "connect.inc";
|
||
|
|
||
|
/************************
|
||
|
* don't free anything
|
||
|
************************/
|
||
|
$link = mysqli_connect("localhost", $user, $passwd);
|
||
|
|
||
|
$result2 = mysqli_query($link, "SELECT CURRENT_USER()");
|
||
|
$stmt2 = mysqli_prepare($link, "SELECT CURRENT_USER()");
|
||
|
printf("Ok\n");
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
Ok
|