mirror of
https://github.com/php/php-src.git
synced 2026-03-28 10:12:18 +01:00
14 lines
339 B
PHP
14 lines
339 B
PHP
--TEST--
|
|
Bug #46115 (Memory leak when calling a method using Reflection)
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded('reflection')) die('skip Reflection extension not loaded'); ?>
|
|
--FILE--
|
|
<?php
|
|
$h = new RecursiveArrayIterator(array());
|
|
$x = new reflectionmethod('RecursiveArrayIterator', 'asort');
|
|
$z = $x->invoke($h);
|
|
?>
|
|
DONE
|
|
--EXPECT--
|
|
DONE
|