OCI-LOB.SEEK(3) OCI-LOB.SEEK(3)
OCI-Lob::seek - Sets the internal pointer of the large object
SYNOPSIS
bool OCI-Lob::seek OCI_SEEK_SET (int $offset, [int $whence])
DESCRIPTION
Sets the internal pointer of the large object.
PARAMETERS
o $offset
- Indicates the amount of bytes, on which internal pointer should be moved from the position, pointed by $whence.
o $whence
- May be one of:
o OCI_SEEK_SET - sets the position equal to $offset
o OCI_SEEK_CUR - adds $offset bytes to the current position
o OCI_SEEK_END - adds $offset bytes to the end of large object (use negative value to move to a position before the end of
large object)
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
"OCI-Lob::rewind", "OCI-Lob::tell", "OCI-Lob::eof".
PHP Documentation Group OCI-LOB.SEEK(3)