OCILob::import

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

OCILob::importImports file data to the LOB

Description

public OCILob::import(string $filename): bool

Writes data from the filename in to the current position of large object.

Parameters

filename

Path to the file.

Return Values

Returns true on success or false on failure.

Changelog

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