summaryrefslogtreecommitdiff
path: root/ext/spl/tests/iterator_059.phpt
blob: 8c579ae43aafb0f4381809ee0ab167fedf65d5ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
SPL: CachingIterator::__construct(void)
--CREDITS--
Sebastian Schürmann
--FILE--
<?php
class myCachingIterator extends CachingIterator {
	
}
try {
	$it = new myCachingIterator();	
} catch (InvalidArgumentException $e) {
	echo 'InvalidArgumentException thrown';
}
?>
--EXPECT--
InvalidArgumentException thrown