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