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