php-src/ext/spl/tests/fileobject_getmaxlinelen_basic.phpt
2008-06-12 20:46:12 +00:00

16 lines
254 B
PHP
Raw Blame History

--TEST--
SPL: SplFileObject::getMaxLineLen()
--CREDITS--
H<EFBFBD>vard Eide <nucleuz at gmail.com>
#Testfest php.no
--INI--
include_path=.
--FILE--
<?php
$s = new SplFileObject( __FILE__ );
$s->setMaxLineLen( 7 );
echo $s->getMaxLineLen();
?>
--EXPECT--
7