* Returns large object's contents * @link https://php.net/manual/en/oci-lob.load.php * @return string|false The contents of the object, or FALSE on errors. */ public function load() {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Returns the current position of internal pointer of large object * @link https://php.net/manual/en/oci-lob.tell.php * @return int|false Current position of a LOB's internal pointer or FALSE if an * error occurred. */ public function tell() {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Truncates large object * @link https://php.net/manual/en/oci-lob.truncate.php * @param int $length [optional]

* If provided, this method will truncate the LOB to * length bytes. Otherwise, it will completely * purge the LOB. *

* @return bool TRUE on success or FALSE on failure. */ public function truncate($length = 0) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Erases a specified portion of the internal LOB data * @link https://php.net/manual/en/oci-lob.erase.php * @param int $offset [optional] * @param int $length [optional] * @return int|false The actual number of characters/bytes erased or FALSE on failure. */ public function erase($offset = null, $length = null) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Flushes/writes buffer of the LOB to the server * @link https://php.net/manual/en/oci-lob.flush.php * @param int $flag [optional]

* By default, resources are not freed, but using flag * OCI_LOB_BUFFER_FREE you can do it explicitly. * Be sure you know what you're doing - next read/write operation to the * same part of LOB will involve a round-trip to the server and initialize * new buffer resources. It is recommended to use * OCI_LOB_BUFFER_FREE flag only when you are not * going to work with the LOB anymore. *

* @return bool TRUE on success or FALSE on failure. *

*

* Returns FALSE if buffering was not enabled or an error occurred. */ public function flush($flag = null) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Changes current state of buffering for the large object * @link https://php.net/manual/en/oci-lob.setbuffering.php * @param bool $on_off

* TRUE for on and FALSE for off. *

* @return bool TRUE on success or FALSE on failure. Repeated calls to this method with the same flag will * return TRUE. */ public function setbuffering($on_off) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Returns current state of buffering for the large object * @link https://php.net/manual/en/oci-lob.getbuffering.php * @return bool FALSE if buffering for the large object is off and TRUE if * buffering is used. */ public function getbuffering() {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Moves the internal pointer to the beginning of the large object * @link https://php.net/manual/en/oci-lob.rewind.php * @return bool TRUE on success or FALSE on failure. */ public function rewind() {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Reads part of the large object * @link https://php.net/manual/en/oci-lob.read.php * @param int $length

* The length of data to read, in bytes. Large values will be rounded down to 1 MB. *

* @return string|false The contents as a string, or FALSE on failure. */ public function read($length) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Tests for end-of-file on a large object's descriptor * @link https://php.net/manual/en/oci-lob.eof.php * @return bool TRUE if internal pointer of large object is at the end of LOB. * Otherwise returns FALSE. */ public function eof() {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Sets the internal pointer of the large object * @link https://php.net/manual/en/oci-lob.seek.php * @param int $offset

* Indicates the amount of bytes, on which internal pointer should be * moved from the position, pointed by whence. *

* @param int $whence [optional]

* May be one of: * OCI_SEEK_SET - sets the position equal to * offset * OCI_SEEK_CUR - adds offset * bytes to the current position * OCI_SEEK_END - adds offset * bytes to the end of large object (use negative value to move to a position * before the end of large object) *

* @return bool TRUE on success or FALSE on failure. */ public function seek($offset, $whence = OCI_SEEK_SET) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Writes data to the large object * @link https://php.net/manual/en/oci-lob.write.php * @param string $data

* The data to write in the LOB. *

* @param int $length [optional]

* If this parameter is given, writing will stop after * length bytes have been written or the end of * data is reached, whichever comes first. *

* @return int|false The number of bytes written or FALSE on failure. */ public function write($data, $length = null) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Appends data from the large object to another large object * @link https://php.net/manual/en/oci-lob.append.php * @param OCILob $lob_from

* The copied LOB. *

* @return bool TRUE on success or FALSE on failure. */ public function append(OCILob $lob_from) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Returns size of large object * @link https://php.net/manual/en/oci-lob.size.php * @return int|false Length of large object value or FALSE on failure. * Empty objects have zero length. */ public function size() {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Alias of {@see OCILob::export} * @link https://php.net/manual/en/oci-lob.writetofile.php * @param $filename * @param $start [optional] * @param $length [optional] * @return bool TRUE on success or FALSE on failure. */ public function writetofile($filename, $start, $length) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Exports LOB's contents to a file * @link https://php.net/manual/en/oci-lob.export.php * @param string $filename

* Path to the file. *

* @param int $start [optional]

* Indicates from where to start exporting. *

* @param int $length [optional]

* Indicates the length of data to be exported. *

* @return bool TRUE on success or FALSE on failure. */ public function export($filename, $start = null, $length = null) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Imports file data to the LOB * @link https://php.net/manual/en/oci-lob.import.php * @param string $filename

* Path to the file. *

* @return bool TRUE on success or FALSE on failure. */ public function import($filename) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Writes a temporary large object * @link https://php.net/manual/en/oci-lob.writetemporary.php * @param string $data

* The data to write. *

* @param int $lob_type [optional]

* Can be one of the following: * OCI_TEMP_BLOB is used to create temporary BLOBs * OCI_TEMP_CLOB is used to create * temporary CLOBs *

* @return bool TRUE on success or FALSE on failure. */ public function writeTemporary($data, $lob_type = OCI_TEMP_CLOB) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Closes LOB descriptor * @link https://php.net/manual/en/oci-lob.close.php * @return bool TRUE on success or FALSE on failure. */ public function close() {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Saves data to the large object * @link https://php.net/manual/en/oci-lob.save.php * @param string $data

* The data to be saved. *

* @param int $offset [optional]

* Can be used to indicate offset from the beginning of the large object. *

* @return bool TRUE on success or FALSE on failure. */ public function save($data, $offset = null) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Alias of {@see OCILob::import} * @link https://php.net/manual/en/oci-lob.savefile.php * @param $filename * @return bool Return true on success and false on failure */ public function savefile($filename) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Frees resources associated with the LOB descriptor * @link https://php.net/manual/en/oci-lob.free.php * @return bool TRUE on success or FALSE on failure. */ public function free() {} } /** * OCI8 Collection functionality. * @link https://php.net/manual/en/class.OCICollection.php * @since 8.0 */ class OCICollection { /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Appends element to the collection * @link https://php.net/manual/en/oci-collection.append.php * @param mixed $value

* The value to be added to the collection. Can be a string or a number. *

* @return bool TRUE on success or FALSE on failure. */ public function append($value) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Returns value of the element * @link https://php.net/manual/en/oci-collection.getelem.php * @param int $index

* The element index. First index is 0. *

* @return mixed FALSE if such element doesn't exist; NULL if element is NULL; * string if element is column of a string datatype or number if element is * numeric field. */ public function getelem($index) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Assigns a value to the element of the collection * @link https://php.net/manual/en/oci-collection.assignelem.php * @param int $index

* The element index. First index is 0. *

* @param mixed $value

* Can be a string or a number. *

* @return bool TRUE on success or FALSE on failure. */ public function assignelem($index, $value) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Assigns a value to the collection from another existing collection * @link https://php.net/manual/en/oci-collection.assign.php * @param OCICollection $from

* An instance of OCICollection. *

* @return bool TRUE on success or FALSE on failure. */ public function assign(OCICollection $from) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Returns size of the collection * @link https://php.net/manual/en/oci-collection.size.php * @return int|false The number of elements in the collection or FALSE on error. */ public function size() {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Returns the maximum number of elements in the collection * @link https://php.net/manual/en/oci-collection.max.php * @return int|false The maximum number as an integer, or FALSE on errors. *

*

* If the returned value is 0, then the number of elements is not limited. */ public function max() {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Trims elements from the end of the collection * @link https://php.net/manual/en/oci-collection.trim.php * @param int $num

* The number of elements to be trimmed. *

* @return bool TRUE on success or FALSE on failure. */ public function trim($num) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* Frees the resources associated with the collection object * @link https://php.net/manual/en/oci-collection.free.php * @return bool TRUE on success or FALSE on failure. */ public function free() {} } /** * (PHP 7.2 >= 7.2.14, PHP 8, PHP 7 >= 7.3.1, PHP 8, PECL OCI8 >= 2.2.0)
* Sets a millisecond timeout for database calls * @link https://php.net/manual/en/function.oci-set-call-timout.php * @param resource $connection

An Oracle connection identifier, * returned by {@see oci_connect}, {@see oci_pconnect}, * or {@see oci_new_connect}.

* @param int $time_out

The maximum time in milliseconds that any * single round-trip between PHP and Oracle Database may take. *

* @return bool TRUE on success or FALSE on failure. */ function oci_set_call_timeout($connection, int $time_out) {} /** * (PHP 7 >== 7.2.14, PHP 8, PHP 7 >= 7.3.1, PHP 8, PECL OCI8 >= 2.2.0) * Sets the database operation * @link https://www.php.net/manual/en/function.oci-set-db-operation.php * @param resource $connection

An Oracle connection identifier, * returned by {@see oci_connect}, {@see oci_pconnect}, * or {@see oci_new_connect}.

* @param string $dbop

User chosen string.

* @return bool TRUE on success or FALSE on failure. */ function oci_set_db_operation($connection, string $dbop) {}