oci_new_collection
(PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0)
Allocates new collection object
Description
Allocates a new collection object.
Parameters
connectionAn Oracle connection identifier, returned by
oci_connect()oroci_pconnect().type_nameShould be a valid named type (uppercase).
schemaShould point to the scheme, where the named type was created. The name of the current user is used when null is passed.
Return Values
Returns a new OCICollection object or false on error.
Changelog
| Version | Description |
|---|---|
| 8.0.0, PECL OCI8 3.0.0 | schema is now nullable. |
Notes
The OCICollection class was called OCI-Collection prior to PHP 8 and OCI8 3.0.0.