From d6d9b15ef73738e37a4bb7e5fe3d2d7761ab78ea Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 3 May 2005 22:28:44 +0000 Subject: [PATCH] - Add another note --- ext/spl/internal/fileobject.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/spl/internal/fileobject.inc b/ext/spl/internal/fileobject.inc index 6cabf97cdd..df48fa1670 100755 --- a/ext/spl/internal/fileobject.inc +++ b/ext/spl/internal/fileobject.inc @@ -265,6 +265,8 @@ class FileObject implements RecursiveIterator, SeekableIterator * @note fgetc() will increase the line number when reaing a new line char. * This has the effect key() called on a read a new line will already * return the increased line number. + * @note Line counting works as long as you only read the file and do not + * use fseek(). */ function key() { -- 2.50.1