Home > PHP > Function > OCI8 > OCI-Lob->read()

OCI-Lob->read()

OCI-Lob->read - Reads part of the large object

Syntax

string OCI-Lob->read (int $length)

Arguments

  • length - The length of data to read, in bytes.

Description

Reads length bytes from the current position of LOB's internal pointer.

Version

PHP 5, PECL OCI8 >= 1.1.0

Return value

Returns the contents as a string, or FALSE on failure.