summaryrefslogtreecommitdiff
path: root/ext/spl/tests/fileobject_setmaxlinelen_error002.phpt
blob: dad59fca5ff01232ad305feb694f76367c1efa34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
SPL: SplFileObject::setMaxLineLen error 002
--CREDITS--
Erwin Poeze <erwin.poeze at gmail.com>
--FILE--
<?php
$s = new SplFileObject( __FILE__ );
$s->setMaxLineLen();

?>
--EXPECTF--
Warning: SplFileObject::setMaxLineLen() expects exactly 1 parameter, 0 given in %s on line %d