Annotation of embedaddon/php/ext/spl/tests/fileobject_getmaxlinelen_error001.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: SPL: SplFileObject::getMaxLineLen error 001
                      3: --CREDITS--
                      4: Erwin Poeze <erwin.poeze at gmail.com>
                      5: --INI--
                      6: include_path=.
                      7: --FILE--
                      8: <?php
                      9: $s = new SplFileObject( __FILE__ );
                     10: $s->getMaxLineLen('string');
                     11: 
                     12: ?>
                     13: --EXPECTF--
                     14: Warning: SplFileObject::getMaxLineLen() expects exactly 0 parameters, 1 given in %s on line %d

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>