xref: /PHP-5.4/ext/mysqli/tests/bug39457.phpt (revision eb0e09f5)
1--TEST--
2Bug #39457 (Multiple invoked OO connections never close)
3--SKIPIF--
4<?php
5require_once('skipif.inc');
6require_once('skipifconnectfailure.inc');
7?>
8--FILE--
9<?php
10	require_once("connect.inc");
11
12	$mysql = mysqli_init();
13	$mysql->connect($host, $user, $passwd, $db, $port, $socket);
14
15	$mysql->connect($host, $user, $passwd, $db, $port, $socket);
16
17	$mysql->close();
18	echo "OK\n";
19?>
20--EXPECT--
21OK
22