The OCILob class

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

Introduction

OCI8 LOB functionality for large binary (BLOB) and character (CLOB) objects.

Note:

The OCI-Lob class was renamed to OCILob in PHP 8 and PECL OCI8 3.0.0 to align with PHP naming standards.

Class synopsis

classOCILob {
publicappend(OCILob$from): bool
publicclose(): bool
publiceof(): bool
publicerase(?int$offset = null, ?int$length = null): int|false
publicexport(string$filename, ?int$offset = null, ?int$length = null): bool
publicflush(int$flag = 0): bool
publicfree(): bool
publicimport(string$filename): bool
publicload(): string|false
publicread(int$length): string|false
publicrewind(): bool
publicsave(string$data, int$offset = 0): bool
publicseek(int$offset, int$whence = OCI_SEEK_SET): bool
publicsetBuffering(bool$mode): bool
publicsize(): int|false
publictell(): int|false
publictruncate(int$length = 0): bool
publicwrite(string$data, ?int$length = null): int|false
}

Table of Contents

To Top