1--TEST--
2SplFileObject::seek function - test parameters
3--FILE--
4<?php
5$obj = new SplFileObject(__FILE__);
6try {
7    $obj->seek(-1);
8} catch (\ValueError $e) {
9    echo($e->getMessage());
10}
11?>
12--EXPECT--
13SplFileObject::seek(): Argument #1 ($line) must be greater than or equal to 0
14