summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/050.phpt
blob: 5f923ccf34bd910bf7e03045daf5e41f17b93829 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--TEST--
non freed statement test 
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
	include "connect.inc";
	
	/************************
	 * non freed stamement
	 ************************/
	$link = mysqli_connect($host, $user, $passwd);

	$stmt = mysqli_prepare($link, "SELECT CURRENT_USER()");
	mysqli_execute($stmt);

	mysqli_close($link);
	printf("Ok\n");
?>
--EXPECT--
Ok