--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());
--TEST--
SPL: Test shape of interface Countable.
--SKIPIF--
-<?php
-// Skip the test case if Standard PHP Library(spl) is not installed
- if( !extension_loaded('spl'))
- {
- die('skip spl is not installed');
- }
-?>
+<?php if (!extension_loaded('spl') || !extension_loaded('reflection')) print 'skip'; ?>
--FILE--
<?php
ReflectionClass::export('Countable');