public stream_seek ( integer $offset, integer $whence = SEEK_SET ) : boolean | ||
$offset | integer | The stream offset to seek to. |
$whence | integer | Possible values: SEEK_SET - Set position equal to offset bytes. SEEK_CUR - Set position to current location plus offset. SEEK_END - Set position to end-of-file plus offset. |
return | boolean | Return TRUE if the position was updated, FALSE otherwise. |