summaryrefslogtreecommitdiff
path: root/ext/spl/tests/fileobject_getmaxlinelen_error001.phpt
blob: 3c0c9eebd52ca9de3f39409ccf7fb5a93c687166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
SPL: SplFileObject::getMaxLineLen error 001
--CREDITS--
Erwin Poeze <erwin.poeze at gmail.com>
--INI--
include_path=.
--FILE--
<?php
$s = new SplFileObject( __FILE__ );
$s->getMaxLineLen('string');

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