1--TEST--
2SPL: SplFileObject::key error
3--CREDITS--
4Ricardo Oedietram <ricardo@odracir.nl>
5Erwin 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(12);
16$s->next();
17var_dump($s->key());
18var_dump($s->valid());
19?>
20--EXPECT--
21int(13)
22bool(false)
23