function ocicollappend()

in oci8/oci8.php [2222:2308]


function ocicollappend(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection, $value) {}

/**
 * (PHP 4 &gt;= 4.0.6, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/>
 * Alias of
 * {@see OCI_COLLection::getElem}
 * @link https://php.net/manual/en/function.ocicollgetelem.php
 * @param OCI_Collection $collection
 * @param int $index <p>The element index. First index is 0.</p>
 * @return mixed <p>Returns <b>FALSE</b> if such element doesn't exist; <b>NULL</b> if element is <b>NULL</b>; string if element is column of a string datatype or number if element is numeric field.</p>
 */
#[Deprecated(replacement: "OCI_COLLection::getElem", since: "5.4")]
function ocicollgetelem(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection, $index) {}

/**
 * (PHP 4 &gt;= 4.0.6, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/>
 * Alias of {@see OCI_Collection::assignElem}
 * @link https://php.net/manual/en/function.ocicollassignelem.php
 * @param OCI_Collection $collection
 * @param $index <p>The element index. First index is 0.</p>
 * @param $value <p>Can be a string or a number.</p>
 * @return bool <p>Returns TRUE on success or FALSE on failure.</p>
 */
#[Deprecated(replacement: "OCI_Collection::assignElem", since: "5.4")]
function ocicollassignelem(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection, $index, $value) {}

/**
 * (PHP 4 &gt;= 4.0.6, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/>
 * Alias of
 * {@see OCI_COLLection::size}
 * @link https://php.net/manual/en/function.ocicollsize.php
 * @param OCI_Collection $collection
 * @return int|false <p>Returns the number of elements in the collection or <b>FALSE</b> on error.</p>
 */
#[Deprecated(replacement: "OCI_COLLection::size", since: "5.4")]
function ocicollsize(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection) {}

/**
 * (PHP 4 &gt;= 4.0.6, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/>
 * Alias of
 * {@see OCI_COLLection::max}
 * @link https://php.net/manual/en/function.ocicollmax.php
 * @param OCI_Collection $collection
 * @return int|false <p> Returns the maximum number as an integer, or <b>FALSE</b> on errors.
 * If the returned value is 0, then the number of elements is not limited.</p>
 */
#[Deprecated(replacement: "OCI_COLLection::max", since: "5.4")]
function ocicollmax(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection) {}

/**
 * (PHP 4 &gt;= 4.0.6, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/>
 * Alias of
 * {@see OCI_Collection::trim}
 * @link https://php.net/manual/en/function.ocicolltrim.php
 * @param OCI_Collection $collection
 * @param int|float $number
 * @return bool Returns <b>TRUE</b> or <b>FALSE</b> on failure.
 */
#[Deprecated(replacement: "OCI_Collection::trim", since: "5.4")]
function ocicolltrim(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection, $number) {}

/**
 * (PHP 4 &gt;= 4.0.6, PECL OCI8 1.0)
 * Writes a temporary large object
 * Alias of {@see OCI-Lob::writeTemporary()}
 * @link https://php.net/manual/en/function.ociwritetemporarylob.php
 * @param OCI_Lob|OCILob $lob_descriptor
 * @param string $data <p>The data to write.</p>
 * @param int $lob_type <p>
 * Can be one of the following:
 * </p><ul>
 * <li>
 * <b>OCI_TEMP_BLOB</b> is used to create temporary BLOBs
 * </li>
 * <li>
 * <b>OCI_TEMP_CLOB</b> is used to create
 * temporary CLOBs
 * </li>
 * </ul>
 * @return bool <p>Returns TRUE on success or FALSE on failure.</p>
 */
#[Deprecated(replacement: "OCI-Lob::writeTemporary", since: "5.4")]
function ociwritetemporarylob(
    #[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_descriptor,
    $data,
    $lob_type = OCI_TEMP_CLOB
) {}