1--TEST--
2SPL: SplFileObject::setMaxLineLen error 001()
3--CREDITS--
4Erwin Poeze <erwin.poeze at gmail.com>
5--FILE--
6<?php
7$s = new SplFileObject( __FILE__ );
8try {
9    $s->setMaxLineLen(-1);
10}
11catch (DomainException $e) {
12    echo 'DomainException thrown';
13}
14
15?>
16--EXPECT--
17DomainException thrown
18