mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
- Add another note
This commit is contained in:
parent
177ea26dc1
commit
d6d9b15ef7
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user