PHP 8.1.0 Alpha 1 available for testing

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

OCILob {
/* Methods */
append(OCILob $lob_from): bool
close(): bool
eof(): bool
erase(int $offset = ?, int $length = ?): int|false
export(string $filename, int $start = ?, int $length = ?): bool
flush(int $flag = ?): bool
free(): bool
getBuffering(): bool
import(string $filename): bool
load(): string
read(int $length): string|false
rewind(): bool
save(string $data, int $offset = ?): bool
seek(int $offset, int $whence = OCI_SEEK_SET): bool
setBuffering(bool $on_off): bool
size(): int|false
tell(): int
Lob::truncate(int $length = 0): bool
write(string $data, int $length = ?): int|false
writeTemporary(string $data, int $lob_type = OCI_TEMP_CLOB): bool
}

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top