1--TEST--
2SPL: SplCachingIterator, Test method to set flags for caching iterator
3--CREDITS--
4Chris Scott chris.scott@nstein.com
5#testfest London 2009-05-09
6--FILE--
7<?php
8
9$ai = new ArrayIterator(array('foo', 'bar'));
10
11$ci = new CachingIterator($ai);
12$ci->setFlags(); //expects arg
13
14?>
15--EXPECTF--
16Warning: CachingIterator::setFlags() expects exactly 1 parameter, %s
17