1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 10:12:18 +01:00
Files
archived-php-src/ext/spl/tests/bug46115.phpt
2008-11-01 22:48:52 +00:00

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