xref: /PHP-8.1/ext/spl/tests/bug46115.phpt (revision b6a4094c)
1--TEST--
2Bug #46115 (Memory leak when calling a method using Reflection)
3--FILE--
4<?php
5$h = new RecursiveArrayIterator(array());
6$x = new reflectionmethod('RecursiveArrayIterator', 'asort');
7$z = $x->invoke($h);
8?>
9DONE
10--EXPECT--
11DONE
12