php8.5
Home/ Manual/ oci8 / ocicollection/ OCICollection::assign

OCICollection::assign

PHP function Edit on GitHub ✎

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

Assigns a value to the collection from another existing collection

Description

OCICollection::assign(OCICollection $from): bool

Assigns a value to the collection from another, previously created collection. Both collections must be created with oci_new_collection() prior to using them.

Parameters

from

An instance of OCICollection.

Return Values

Success

Changelog

VersionDescription
8.0.0, PECL OCI8 3.0.0The OCI-Collection class was renamed to OCICollection to align with PHP naming standards.

See Also

Source: reference/oci8/ocicollection/assign.xml · from the official PHP manual (php/doc-en)