The OCILob class

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 */
public bool append(OCILob $from)
public bool close()
public bool eof()
public intfalse erase(intnull $offset = null, intnull $length = null)
public bool export(string $filename, intnull $offset = null, intnull $length = null)
public bool flush(int $flag = 0)
public bool free()
public bool getBuffering()
public bool import(string $filename)
public stringfalse load()
public stringfalse read(int $length)
public bool rewind()
public bool save(string $data, int $offset = 0)
public bool seek(int $offset, int $whence = OCI_SEEK_SET)
public bool setBuffering(bool $mode)
public intfalse size()
public intfalse tell()
public bool truncate(int $length = 0)
public intfalse write(string $data, intnull $length = null)
public bool writeTemporary(string $data, int $type = OCI_TEMP_CLOB)
Table of Contents