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