1--TEST--
2SPL: SplFileObject::key error
3--CREDITS--
4Erwin Poeze <erwin.poeze AT gmail.com>
5--FILE--
6<?php
7//line 2
8//line 3
9//line 4
10//line 5
11$s = new SplFileObject(__FILE__);
12$s->key(3);
13?>
14--EXPECTF--
15Warning: SplFileObject::key() expects exactly 0 parameters, 1 given in %s on line %d
16