mirror of
https://github.com/php/php-src.git
synced 2025-01-06 02:43:34 +08:00
b580bc3875
UPGRADING. sed-ed the tests to change the usage to the real function name.
26 lines
507 B
PHP
26 lines
507 B
PHP
--TEST--
|
|
call statement after close
|
|
--SKIPIF--
|
|
<?php
|
|
require_once('skipif.inc');
|
|
require_once('skipifconnectfailure.inc');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
require_once("connect.inc");
|
|
|
|
/************************
|
|
* statement call after close
|
|
************************/
|
|
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
|
|
|
$stmt2 = mysqli_prepare($link, "SELECT CURRENT_USER()");
|
|
|
|
mysqli_close($link);
|
|
@mysqli_stmt_execute($stmt2);
|
|
@mysqli_stmt_close($stmt2);
|
|
printf("Ok\n");
|
|
?>
|
|
--EXPECT--
|
|
Ok
|