summaryrefslogtreecommitdiff
path: root/ext/spl/tests/recursive_tree_iterator_002.phpt
blob: 1aae288e638d6c43696a74c26f1aa94c0d40a03c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
SPL: RecursiveTreeIterator(void)
--INI--
error_reporting=E_ALL&~E_NOTICE
--FILE--
<?php
try {
	new RecursiveTreeIterator();
} catch (InvalidArgumentException $e) {
	echo "InvalidArgumentException thrown\n";
}
?>
===DONE===
--EXPECTF--
InvalidArgumentException thrown
===DONE===