xref: /PHP-7.3/ext/mysqli/tests/bug46109.phpt (revision ded3d984)
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--EXPECT--
18done
19