mirror of
https://github.com/php/php-src.git
synced 2024-12-11 10:54:47 +08:00
16 lines
353 B
PHP
16 lines
353 B
PHP
--TEST--
|
|
SPL: RecursiveCachingIterator::__construct(void)
|
|
--CREDITS--
|
|
Sebastian Schürmann
|
|
--FILE--
|
|
<?php
|
|
class myRecursiveCachingIterator extends RecursiveCachingIterator {}
|
|
try {
|
|
$it = new myRecursiveCachingIterator();
|
|
} catch (InvalidArgumentException $e) {
|
|
echo 'InvalidArgumentException thrown';
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
InvalidArgumentException thrown
|