1--TEST--
2SplFileObject::seek function - test parameters
3--FILE--
4<?php
5$obj = New SplFileObject(__FILE__);
6$obj->seek(1,2);
7$obj->seek();
8try {
9	$obj->seek(-1);
10} catch (LogicException $e) {
11	echo($e->getMessage());
12}
13?>
14--EXPECTF--
15
16Warning: SplFileObject::seek() expects exactly 1 parameter, 2 given in %s
17
18Warning: SplFileObject::seek() expects exactly 1 parameter, 0 given in %s
19Can't seek file %s to negative line %s
20