xref: /PHP-8.3/ext/mysqli/tests/bug46109.phpt (revision a21edc52)
1--TEST--
2Bug #46109 (MySQLi::init - Memory leaks)
3--EXTENSIONS--
4mysqli
5--SKIPIF--
6<?php
7require_once 'skipifconnectfailure.inc';
8?>
9--FILE--
10<?php
11require_once 'connect.inc';
12
13$mysqli = new mysqli();
14$mysqli->init();
15$mysqli->init();
16echo "done";
17?>
18--EXPECTF--
19Deprecated: Method mysqli::init() is deprecated in %s on line %d
20
21Deprecated: Method mysqli::init() is deprecated in %s on line %d
22done
23