1--TEST-- 2SPL: LimitIterator seek() arguments 3--CREDITS-- 4Roshan Abraham (roshanabrahams@gmail.com) 5TestFest London May 2009 6--FILE-- 7<?php 8 9$a = array(1,2,3); 10$lt = new LimitIterator(new ArrayIterator($a)); 11 12$lt->seek(1,1); // Should throw a warning as seek expects only 1 argument 13 14?> 15--EXPECTF-- 16Warning: LimitIterator::seek() expects exactly 1 parameter, 2 given in %s on line %d 17