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

16 lines
253 B
PHP
Raw Blame History

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