1--TEST-- 2SPL: RecursiveIteratorIterator::getSubIterator() expects at most 1 parameter 3--CREDITS-- 4Matt Raines matt@raines.me.uk 5#testfest London 2009-05-09 6--FILE-- 7<?php 8$iterator = new RecursiveIteratorIterator(new RecursiveArrayIterator(array())); 9$iterator->getSubIterator(); 10$iterator->getSubIterator(0); 11$iterator->getSubIterator(0, 0); 12?> 13--EXPECTF-- 14Warning: RecursiveIteratorIterator::getSubIterator() expects at most 1 parameter, 2 given in %s on line 5 15 16