blob: 8dc50d5fc746d4ecf8ab1b904db5b1879cd94456 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
SPL: SplFileObject::setMaxLineLen error 003
--CREDITS--
Erwin Poeze <erwin.poeze at gmail.com>
--FILE--
<?php
$s = new SplFileObject( __FILE__ );
$s->setMaxLineLen('string');
?>
--EXPECTF--
Warning: SplFileObject::setMaxLineLen() expects parameter 1 to be long, string given in %s on line %d
|