1--TEST-- 2SPL: CachingIterator::__construct(void) 3--CREDITS-- 4Sebastian Schürmann 5--FILE-- 6<?php 7class myCachingIterator extends CachingIterator {} 8try { 9 $it = new myCachingIterator(); 10} catch (InvalidArgumentException $e) { 11 echo 'InvalidArgumentException thrown'; 12} 13?> 14--EXPECT-- 15InvalidArgumentException thrown 16