xref: /PHP-5.6/ext/mysqli/tests/bug46109.phpt (revision eb0e09f5)
1--TEST--
2Bug #46109 (MySQLi::init - Memory leaks)
3--SKIPIF--
4<?php
5require_once('skipif.inc');
6require_once('skipifconnectfailure.inc');
7?>
8--FILE--
9<?php
10	require_once("connect.inc");
11
12	$mysqli = new mysqli();
13	$mysqli->init();
14	$mysqli->init();
15	echo "done";
16?>
17--EXPECTF--
18done
19