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 (TypeError $e) { 14 echo $e->getMessage(), "\n"; 15} 16?> 17--EXPECT-- 18RecursiveIteratorIterator::__construct() expects at least 1 argument, 0 given 19