PHP 8.1.0 RC 2 available for testing

The OCILob class

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


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


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


class OCILob {
/* 方法 */
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


add a note add a note

User Contributed Notes

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