php-src/ext/mysqli/tests/052.phpt
Georg Richter 9751d9afaa Fixed bug #30890 (testsuite)
Fixed bug #28817 (property problems in extended class)
2004-12-04 08:16:04 +00:00

21 lines
384 B
PHP

--TEST--
call statement after close
--FILE--
<?php
include "connect.inc";
/************************
* statement call after close
************************/
$link = mysqli_connect($host, $user, $passwd);
$stmt2 = mysqli_prepare($link, "SELECT CURRENT_USER()");
mysqli_close($link);
@mysqli_execute($stmt2);
@mysqli_stmt_close($stmt2);
printf("Ok\n");
?>
--EXPECT--
Ok