Skip to content

Stream: seek Example

Terry L edited this page Jun 20, 2020 · 2 revisions
Clone this wiki locally


seek($offset, $whence)

Seek to a position in the stream.

  • param int offset * Stream offset.
  • param int whence = SEEK_SET Specifies how the cursor position will be calculated based on the seek offset.
  • return void


// See eof() example.