1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/mysqli/tests/bug39457.phpt

23 lines
412 B
PHP

--TEST--
Bug #39457 (Multiple invoked OO connections never close)
--EXTENSIONS--
mysqli
--SKIPIF--
<?php
require_once 'skipifconnectfailure.inc';
?>
--FILE--
<?php
require_once 'connect.inc';
$mysql = mysqli_init();
$mysql->connect($host, $user, $passwd, $db, $port, $socket);
$mysql->connect($host, $user, $passwd, $db, $port, $socket);
$mysql->close();
echo "OK\n";
?>
--EXPECT--
OK