SplFileObject::fseek
SplFileObject::fseek
(PHP 5 >= 5.1.0, PHP 7)
SplFileObject::fseek — Seek to a position
Description
public int SplFileObject::fseek ( int $offset [, int $whence = SEEK_SET ] )
Seek to a position in the file measured in bytes from the beginning of the file, obtained by adding offset
to the position specified by whence
.
Parameters
-
offset
-
The offset. A negative value can be used to mo