php8.5
Home/ Manual/ oci8 / ocilob/ OCILob::load

OCILob::load

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0)

Returns large object's contents

Description

OCILob::load(): string|false

Returns large object's contents. As script execution is terminated when the memory_limit is reached, ensure that the LOB does not exceed this limit. In most cases it's recommended to use ocilob.read instead.

Parameters Parameters

Return Values

Returns the contents of the object, or false on errors.

Changelog

VersionDescription
8.0.0, PECL OCI8 3.0.0The OCI-Lob class was renamed to OCILob to align with PHP naming standards.

See Also

Source: reference/oci8/ocilob/load.xml · from the official PHP manual (php/doc-en)