]> granicus.if.org Git - php/commitdiff
- Add another note
authorMarcus Boerger <helly@php.net>
Tue, 3 May 2005 22:28:44 +0000 (22:28 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 3 May 2005 22:28:44 +0000 (22:28 +0000)
ext/spl/internal/fileobject.inc

index 6cabf97cddee98e847897fdf5814bb0f7f7f04e3..df48fa1670fc51d439d0b6531d6a0e958ccdca08 100755 (executable)
@@ -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()
        {