helly Tue May 3 18:28:44 2005 EDT Modified files: /php-src/ext/spl/internal fileobject.inc Log: - Add another note http://cvs.php.net/diff.php/php-src/ext/spl/internal/fileobject.inc?r1=1.2&r2=1.3&ty=u Index: php-src/ext/spl/internal/fileobject.inc diff -u php-src/ext/spl/internal/fileobject.inc:1.2 php-src/ext/spl/internal/fileobject.inc:1.3 --- php-src/ext/spl/internal/fileobject.inc:1.2 Tue May 3 18:18:19 2005 +++ php-src/ext/spl/internal/fileobject.inc Tue May 3 18:28:44 2005 @@ -265,6 +265,8 @@ * @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() {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php