php-src/ext/spl/tests/fileobject_setmaxlinelen_error002.phpt
2012-07-14 19:21:50 -07:00

15 lines
309 B
PHP

--TEST--
SPL: SplFileObject::setMaxLineLen error 002
--CREDITS--
Erwin Poeze <erwin.poeze at gmail.com>
--INI--
include_path=.
--FILE--
<?php
$s = new SplFileObject( __FILE__ );
$s->setMaxLineLen();
?>
--EXPECTF--
Warning: SplFileObject::setMaxLineLen() expects exactly 1 parameter, 0 given in %s on line %d