1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 06:51:18 +02:00
Files
archived-php-src/ext/spl/tests/fileobject_setmaxlinelen_error003.phpt
2014-12-21 13:23:02 +00:00

13 lines
305 B
PHP

--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 integer, string given in %s on line %d