1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00
Files
archived-php-src/ext/spl/tests/iterator_060.phpt
T

20 lines
438 B
PHP

--TEST--
SPL: RecursiveCachingIterator::__construct(void)
--SKIPIF--
<?php if (!extension_loaded("spl")) print "skip"; ?>
--CREDITS--
Sebastian Schürmann
--FILE--
<?php
class myRecursiveCachingIterator extends RecursiveCachingIterator {
}
try {
$it = new myRecursiveCachingIterator();
} catch (InvalidArgumentException $e) {
echo 'InvalidArgumentException thrown';
}
?>
--EXPECT--
InvalidArgumentException thrown