summaryrefslogtreecommitdiff
path: root/ext/spl/tests/iterator_065.phpt
blob: 9ea2974cd40da36b54246a2307e181d9fcd5e04d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--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