Annotation of embedaddon/php/ext/spl/tests/SplFixedArray_rewind_param.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: SplFixedArray::rewind() with a parameter. *BUG*
3: --CREDITS--
4: PHPNW Test Fest 2009 - Jordan Hatch
5: --FILE--
6: <?php
7:
8: $array = new SplFixedArray( 4 );
9:
10: $array[0] = "Hello";
11: $array[1] = "world";
12: $array[2] = "elePHPant";
13:
14: $array->rewind( "invalid" );
15:
16: ?>
17: --EXPECTF--
18: Warning: SplFixedArray::rewind() expects exactly 0 parameters, 1 given in %s on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>