Return to fileobject_setmaxlinelen_error003.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / spl / tests |
1.1 misho 1: --TEST-- 2: SPL: SplFileObject::setMaxLineLen error 003 3: --CREDITS-- 4: Erwin Poeze <erwin.poeze at gmail.com> 5: --FILE-- 6: <?php 7: $s = new SplFileObject( __FILE__ ); 8: $s->setMaxLineLen('string'); 9: 10: ?> 11: --EXPECTF-- 12: Warning: SplFileObject::setMaxLineLen() expects parameter 1 to be long, string given in %s on line %d