xref: /PHP-7.4/ext/xmlrpc/tests/bug61097.phpt (revision 0dcff951)
1--TEST--
2Bug #61097 (Memory leak in xmlrpc functions copying zvals)
3--SKIPIF--
4<?php if (!extension_loaded("xmlrpc")) print "skip"; ?>
5--FILE--
6<?php
7$server = xmlrpc_server_create();
8
9$method = 'abc';
10xmlrpc_server_register_introspection_callback($server, $method);
11xmlrpc_server_register_method($server, 'abc', $method);
12
13echo 'Done';
14?>
15--EXPECT--
16Done
17