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