--TEST-- SPL: RecursiveIteratorIterator::nextElement() is called when the next element is ready --CREDITS-- Matt Raines matt@raines.me.uk #testfest London 2009-05-09 --FILE-- --EXPECT-- int(1) int(2) int(3) int(4) ::nextElement() was invoked int(1) ::nextElement() was invoked int(2) ::nextElement() was invoked int(3) ::nextElement() was invoked int(4)