diff options
| -rwxr-xr-x | ext/spl/internal/fileobject.inc | 2 |
1 files changed, 2 insertions, 0 deletions
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() { |
