|
SplFileObject::fseekSeek to a position Beschreibung
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
Parameter-Liste
RückgabewerteReturns 0 if the seek was successful, -1 otherwise. Note that seeking past EOF is not considered an error. Beispiele
Beispiel #1 SplFileObject::fseek example
<?phpSiehe auch
|