Annotation of embedaddon/php/ext/spl/tests/SplFileObject_seek_error002.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: SPL: SplFileObject::seek error 001
3: --CREDITS--
4: Ricardo Oedietram <ricardo@odracir.nl>
5: Erwin Poeze <erwin.poeze@gmail.com>
6: #PFZ June PHP TestFest 2012
7: --FILE--
8: <?php
9: //line 2
10: //line 3
11: //line 4
12: //line 5
13: $s = new SplFileObject(__FILE__);
14:
15: $s->seek(20);
16: echo $s->current();
17: ?>
18: --EXPECT--
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>