oci_new_descriptor
PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0
oci_new_descriptor - Initializes a new empty LOB or FILE descriptor
Manual
oci_new_descriptor(
resource$connection,
[int$type = OCI_DTYPE_LOB] ): OCILob|null
Allocates resources to hold descriptor or LOB locator.
Parameters
- connection
-
An Oracle connection identifier, returned by oci_connect or oci_pconnect.
- type
-
Valid values for type are: OCI_DTYPE_FILE, OCI_DTYPE_LOB and OCI_DTYPE_ROWID.
Return Values
Returns a new LOB or FILE descriptor on success, or null on failure.
Notes
Note:
In PHP versions before 5.0.0 you must use ocinewdescriptor instead. This name still can be used, it was left as alias of oci_new_descriptor for downwards compatability. This, however, is deprecated and not recommended.