* 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)* 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)* 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)* 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)* 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)* The copied LOB. *
* @return bool TRUE on success or FALSE on failure. */ public function append(#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_from) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* 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)* Path to the file. *
* @return bool TRUE on success or FALSE on failure. */ public function import($filename) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* 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)* 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)* 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)* 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)* 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)* An instance of OCI-Collection. *
* @return bool TRUE on success or FALSE on failure. */ public function assign(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $from) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)
* 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)* An Oracle connection identifier. *
* @param mixed $callbackFn [optional]
* A user-defined callback to register for Oracle TAF. It can be a string of the function name or a Closure (anonymous function).
* The interface of a TAF user-defined callback function is as follows:
* userCallbackFn ( resource $connection , int $event , int $type ) : int
* See the parameter description and an example on OCI8 Transparent Application Failover (TAF) Support page.
*
* An Oracle connection identifier. *
* @return bool TRUE on success or FALSE on failure. * @since 7.2 */ function oci_unregister_taf_callback($connection) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)A valid OCI8 statement * identifier created by {@see oci_parse} and executed * by {@see oci_execute}, or a REF * CURSOR statement identifier.
* @param string $column_name* The column name used in the query. *
** Use uppercase for Oracle's default, non-case sensitive column * names. Use the exact column name case for case-sensitive * column names. *
* @param mixed &$variable* The PHP variable that will contain the returned column value. *
* @param int $type [optional]* The data type to be returned. Generally not needed. Note that * Oracle-style data conversions are not performed. For example, * SQLT_INT will be ignored and the returned * data type will still be SQLT_CHR. *
** You can optionally use {@see oci_new_descriptor} * to allocate LOB/ROWID/BFILE descriptors. *
* @return bool TRUE on success or FALSE on failure. */ function oci_define_by_name($statement, $column_name, &$variable, $type = SQLT_CHR) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* A valid OCI8 statement identifier. *
* @param string $bv_name* The colon-prefixed bind variable placeholder used in the * statement. The colon is optional * in bv_name. Oracle does not use question * marks for placeholders. *
* @param mixed &$variable* The PHP variable to be associated with bv_name *
* @param int $maxlength [optional]* Sets the maximum length for the data. If you set it to -1, this * function will use the current length * of variable to set the maximum * length. In this case the variable must * exist and contain data * when {@see oci_bind_by_name} is called. *
* @param int $type [optional]* The datatype that Oracle will treat the data as. The * default type used * is SQLT_CHR. Oracle will convert the data * between this type and the database column (or PL/SQL variable * type), when possible. *
** If you need to bind an abstract datatype (LOB/ROWID/BFILE) you * need to allocate it first using the * {@see oci_new_descriptor} function. The * length is not used for abstract datatypes * and should be set to -1. *
** Possible values for type are: *
** SQLT_BFILEE or OCI_B_BFILE * - for BFILEs; *
* @return bool TRUE on success or FALSE on failure. */ function oci_bind_by_name($statement, $bv_name, &$variable, $maxlength = -1, $type = SQLT_CHR) {} /** * (PHP 5 >= 5.1.2, PECL OCI8 >= 1.2.0)* A valid OCI statement identifier. *
* @param string $name* The Oracle placeholder. *
* @param array &$var_array* An array. *
* @param int $max_table_length* Sets the maximum length both for incoming and result arrays. *
* @param int $max_item_length [optional]* Sets maximum length for array items. If not specified or equals to -1, * {@see oci_bind_array_by_name} will find the longest * element in the incoming array and will use it as the maximum length. *
* @param int $type [optional]* Should be used to set the type of PL/SQL array items. See list of * available types below: *
** SQLT_NUM - for arrays of NUMBER. *
* @return bool TRUE on success or FALSE on failure. */ function oci_bind_array_by_name($statement, $name, array &$var_array, $max_table_length, $max_item_length = -1, $type = SQLT_AFC) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* A valid OCI statement identifier. *
* @param mixed $field* Can be a field's index or a field's name (uppercased). *
* @return bool TRUE if field is NULL, FALSE otherwise. */ function oci_field_is_null($statement, $field) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* A valid OCI statement identifier. *
* @param string|int $field* Can be the field's index (1-based) or name. *
* @return string|false The name as a string, or FALSE on errors. */ function oci_field_name($statement, $field) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* A valid OCI statement identifier. *
* @param mixed $field* Can be the field's index (1-based) or name. *
* @return int|false The size of a field in bytes, or FALSE on * errors. */ function oci_field_size($statement, $field) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* A valid OCI statement identifier. *
* @param string|int $field* Can be the field's index (1-based) or name. *
* @return int|false The scale as an integer, or FALSE on errors. */ function oci_field_scale($statement, $field) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* A valid OCI statement identifier. *
* @param string|int $field* Can be the field's index (1-based) or name. *
* @return int|false The precision as an integer, or FALSE on errors. */ function oci_field_precision($statement, $field) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* A valid OCI statement identifier. *
* @param string|int $field* Can be the field's index (1-based) or name. *
* @return mixed the field data type as a string, or FALSE on errors. */ function oci_field_type($statement, $field) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* A valid OCI statement identifier. *
* @param int $field* Can be the field's index (1-based) or name. *
* @return int|false Oracle's raw data type as a string, or FALSE on errors. */ function oci_field_type_raw($statement, $field) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* A valid OCI statement identifier. *
* @param int $mode [optional]* An optional second parameter can be one of the following constants: *
Constant | *Description | *
OCI_COMMIT_ON_SUCCESS | *Automatically commit all outstanding changes for * this connection when the statement has succeeded. This * is the default. | *
OCI_DESCRIBE_ONLY | *Make query meta data available to functions * like {@see oci_field_name} but do not * create a result set. Any subsequent fetch call such * as {@see oci_fetch_array} will * fail. | *
OCI_NO_AUTO_COMMIT | *Do not automatically commit changes. Prior to PHP * 5.3.2 (PECL OCI8 1.4) * use OCI_DEFAULT which is equivalent * to OCI_NO_AUTO_COMMIT. | *
* Using OCI_NO_AUTO_COMMIT mode starts or continues a * transaction. Transactions are automatically rolled back when * the connection is closed, or when the script ends. Explicitly * call {@see oci_commit} to commit a transaction, * or {@see oci_rollback} to abort it. *
** When inserting or updating data, using transactions is * recommended for relational data consistency and for performance * reasons. *
** If OCI_NO_AUTO_COMMIT mode is used for any * statement including queries, and * {@see oci_commit} * or {@see oci_rollback} is not subsequently * called, then OCI8 will perform a rollback at the end of the * script even if no data was changed. To avoid an unnecessary * rollback, many scripts do not * use OCI_NO_AUTO_COMMIT mode for queries or * PL/SQL. Be careful to ensure the appropriate transactional * consistency for the application when * using {@see oci_execute} with different modes in * the same script. *
* @return bool TRUE on success or FALSE on failure. */ function oci_execute($statement, $mode = OCI_COMMIT_ON_SUCCESS) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* An OCI statement. *
* @return bool TRUE on success or FALSE on failure. */ function oci_cancel($statement) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)A valid OCI8 statement * identifier created by {@see oci_parse} and executed * by {@see oci_execute}, or a REF * CURSOR statement identifier.
* @return bool TRUE on success or FALSE if there are no more rows in the * statement. */ function oci_fetch($statement) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)A valid OCI8 statement * identifier created by {@see oci_parse} and executed * by {@see oci_execute}, or a REF * CURSOR statement identifier.
* @return object|falseAn object. Each attribute of the object corresponds to a * column of the row. If there are no more rows in * the statement then FALSE is returned. *
** Any LOB columns are returned as LOB descriptors. *
** DATE columns are returned as strings formatted * to the current date format. The default format can be changed with * Oracle environment variables such as NLS_LANG or * by a previously executed ALTER SESSION SET * NLS_DATE_FORMAT command. *
** Oracle's default, non-case sensitive column names will have * uppercase attribute names. Case-sensitive column names will have * attribute names using the exact column case. * Use var_dump on the result object to verify * the appropriate case for attribute access. *
** Attribute values will be NULL for any NULL * data fields. *
*/ function oci_fetch_object($statement) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)A valid OCI8 statement * identifier created by {@see oci_parse} and executed * by {@see oci_execute}, or a REF * CURSOR statement identifier.
* @return array|false A numerically indexed array. If there are no more rows in * the statement then FALSE is returned. */ function oci_fetch_row($statement) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)A valid OCI8 statement * identifier created by {@see oci_parse} and executed * by {@see oci_execute}, or a REF * CURSOR statement identifier.
* @return array|false An associative array. If there are no more rows in * the statement then FALSE is returned. */ function oci_fetch_assoc($statement) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)A valid OCI8 statement * identifier created by {@see oci_parse} and executed * by {@see oci_execute}, or a REF * CURSOR statement identifier.
** Can also be a statement identifier returned by {@see oci_get_implicit_resultset}. *
* @param int $mode [optional]* An optional second parameter can be any combination of the following * constants: *
Constant | *Description | *
OCI_BOTH | *Returns an array with both associative and numeric * indices. This is the same * as OCI_ASSOC * + OCI_NUM and is the default * behavior. | *
OCI_ASSOC | *Returns an associative array. | *
OCI_NUM | *Returns a numeric array. | *
OCI_RETURN_NULLS | *Creates elements for NULL fields. The element * values will be a PHP NULL. * | *
OCI_RETURN_LOBS | *Returns the contents of LOBs instead of the LOB * descriptors. | *
* The default mode is OCI_BOTH. *
** Use the addition operator "+" to specify more than * one mode at a time. *
* @return array|falseAn array with associative and/or numeric indices. If there * are no more rows in the statement then * FALSE is returned. *
** By default, LOB columns are returned as LOB descriptors. *
** DATE columns are returned as strings formatted * to the current date format. The default format can be changed with * Oracle environment variables such as NLS_LANG or * by a previously executed ALTER SESSION SET * NLS_DATE_FORMAT command. *
** Oracle's default, non-case sensitive column names will have * uppercase associative indices in the result array. Case-sensitive * column names will have array indices using the exact column case. * Use var_dump on the result array to verify the * appropriate case to use for each query. *
** The table name is not included in the array index. If your query * contains two different columns with the same name, * use OCI_NUM or add a column alias to the query * to ensure name uniqueness, see example #7. Otherwise only one * column will be returned via PHP. *
*/ function oci_fetch_array($statement, $mode = null) {} /** * (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)A valid OCI8 statement * identifier created by {@see oci_parse} and executed * by {@see oci_execute}, or a REF * CURSOR statement identifier.
* @param array &$output* The variable to contain the returned rows. *
** LOB columns are returned as strings, where Oracle supports * conversion. *
** See {@see oci_fetch_array} for more information * on how data and types are fetched. *
* @param int $skip [optional]* The number of initial rows to discard when fetching the * result. The default value is 0, so the first row onwards is * returned. *
* @param int $maxrows [optional]* The number of rows to return. The default is -1 meaning return * all the rows from skip + 1 onwards. *
* @param int $flags [optional]* Parameter flags indicates the array * structure and whether associative arrays should be used. *
Constant | *Description | *
OCI_FETCHSTATEMENT_BY_ROW | *The outer array will contain one sub-array per query * row. | *
OCI_FETCHSTATEMENT_BY_COLUMN | *The outer array will contain one sub-array per query * column. This is the default. | *
* Arrays can be indexed by column heading or numerically. *
Constant | *Description | *
OCI_NUM | *Numeric indexes are used for each column's array. | *
OCI_ASSOC | *Associative indexes are used for each column's * array. This is the default. | *
* Use the addition operator "+" to choose a combination * of array structure and index modes. *
** Oracle's default, non-case sensitive column names will have * uppercase array keys. Case-sensitive column names will have * array keys using the exact column case. * Use var_dump * on output to verify the appropriate case * to use for each query. *
** Queries that have more than one column with the same name * should use column aliases. Otherwise only one of the columns * will appear in an associative array. *
* @return int|false The number of rows in output, which * may be 0 or more, or FALSE on failure. */ function oci_fetch_all($statement, array &$output, $skip = 0, $maxrows = -1, $flags = OCI_FETCHSTATEMENT_BY_COLUMN|OCI_ASSOC) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* A valid OCI statement identifier. *
* @return bool TRUE on success or FALSE on failure. */ function oci_free_statement($statement) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* Set this to FALSE to turn debug output off or TRUE to turn it on. *
* @removed 8.0 * @return void No value is returned. */ function oci_internal_debug($onoff) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* A valid OCI statement identifier. *
* @return int|false The number of columns as an integer, or FALSE on errors. */ function oci_num_fields($statement) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* An Oracle connection identifier, returned by * {@see oci_connect}, {@see oci_pconnect}, or {@see oci_new_connect}. *
* @param string $sql_text* The SQL or PL/SQL statement. *
** SQL statements should not end with a * semi-colon (";"). PL/SQL * statements should end with a semi-colon * (";"). *
* @return resource|false A statement handle on success, or FALSE on error. */ function oci_parse($connection, $sql_text) {} /** * (PECL OCI8 >= 2.0.0)A valid OCI8 statement identifier created * by {@see oci_parse} and executed * by {@see oci_execute}. The statement * identifier may or may not be associated with a SQL statement * that returns Implicit Result Sets. *
* @return resource|false A statement handle for the next child statement available * on statement. Returns FALSE when child * statements do not exist, or all child statements have been returned * by previous calls * to {@see oci_get_implicit_resultset}. */ function oci_get_implicit_resultset($statement) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* An Oracle connection identifier, returned by * {@see oci_connect} or {@see oci_pconnect}. *
* @return resource|false A new statement handle, or FALSE on error. */ function oci_new_cursor($connection) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* Can be either use the column number (1-based) or the column name. * The case of the column name must be the case that Oracle meta data * describes the column as, which is uppercase for columns created * case insensitively. *
* @return mixed everything as strings except for abstract types (ROWIDs, LOBs and * FILEs). Returns FALSE on error. */ function oci_result($statement, $field) {} /** * (PHP 5.3.7, PECL OCI8 >= 1.4.6)* A valid OCI8 statement identifier from {@see oci_parse}. *
* @return string|false The type of statement as one of the * following strings. *Return String | *Notes | *
ALTER | ** |
BEGIN | ** |
CALL | *Introduced in PHP 5.2.1 (PECL OCI8 1.2.3) | *
CREATE | ** |
DECLARE | ** |
DELETE | ** |
DROP | ** |
INSERT | ** |
SELECT | ** |
UPDATE | ** |
UNKNOWN | ** |
* Returns FALSE on error.
*/
function oci_statement_type($statement) {}
/**
* (PHP 5, PECL OCI8 >= 1.1.0)
* Returns number of rows affected during statement execution
* @link https://php.net/manual/en/function.oci-num-rows.php
* @param resource $statement
* A valid OCI statement identifier. *
* @return int|false The number of rows affected as an integer, or FALSE on errors. */ function oci_num_rows($statement) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* An Oracle connection identifier returned by * {@see oci_connect}, {@see oci_pconnect}, * or {@see oci_new_connect}. *
* @return bool TRUE on success or FALSE on failure. */ function oci_close($connection) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* The Oracle user name. *
* @param string $password* The password for username. *
* @param string $connection_string [optional]Contains * the Oracle instance to connect to. It can be * an Easy Connect * string, or a Connect Name from * the tnsnames.ora file, or the name of a local * Oracle instance. *
** If not specified, PHP uses * environment variables such as TWO_TASK (on Linux) * or LOCAL (on Windows) * and ORACLE_SID to determine the * Oracle instance to connect to. *
** To use the Easy Connect naming method, PHP must be linked with Oracle * 10g or greater Client libraries. The Easy Connect string for Oracle * 10g is of the form: * [//]host_name[:port][/service_name]. From Oracle * 11g, the syntax is: * [//]host_name[:port][/service_name][:server_type][/instance_name]. * Service names can be found by running the Oracle * utility lsnrctl status on the database server * machine. *
** The tnsnames.ora file can be in the Oracle Net * search path, which * includes $ORACLE_HOME/network/admin * and /etc. Alternatively * set TNS_ADMIN so * that $TNS_ADMIN/tnsnames.ora is read. Make sure * the web daemon has read access to the file. *
* @param string $character_set [optional]Determines * the character set used by the Oracle Client libraries. The character * set does not need to match the character set used by the database. If * it doesn't match, Oracle will do its best to convert data to and from * the database character set. Depending on the character sets this may * not give usable results. Conversion also adds some time overhead. *
** If not specified, the * Oracle Client libraries determine a character set from * the NLS_LANG environment variable. *
** Passing this parameter can * reduce the time taken to connect. *
** @param int $session_mode [optional] This * parameter is available since version PHP 5 (PECL OCI8 1.1) and accepts the * following values: OCI_DEFAULT, * OCI_SYSOPER and OCI_SYSDBA. * If either OCI_SYSOPER or * OCI_SYSDBA were specified, this function will try * to establish privileged connection using external credentials. * Privileged connections are disabled by default. To enable them you * need to set oci8.privileged_connect * to On. *
** PHP 5.3 (PECL OCI8 1.3.4) introduced the * OCI_CRED_EXT mode value. This tells Oracle to use * External or OS authentication, which must be configured in the * database. The OCI_CRED_EXT flag can only be used * with username of "/" and a empty password. * oci8.privileged_connect * may be On or Off. *
** OCI_CRED_EXT may be combined with the * OCI_SYSOPER or * OCI_SYSDBA modes. *
** OCI_CRED_EXT is not supported on Windows for * security reasons. *
* @return resource|false A connection identifier or FALSE on error. */ function oci_connect($username, $password, $connection_string = null, $character_set = null, $session_mode = null) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* The Oracle user name. *
* @param string $password* The password for username. *
* @param string $connection_string [optional]Contains * the Oracle instance to connect to. It can be * an Easy Connect * string, or a Connect Name from * the tnsnames.ora file, or the name of a local * Oracle instance. *
** If not specified, PHP uses * environment variables such as TWO_TASK (on Linux) * or LOCAL (on Windows) * and ORACLE_SID to determine the * Oracle instance to connect to. *
** To use the Easy Connect naming method, PHP must be linked with Oracle * 10g or greater Client libraries. The Easy Connect string for Oracle * 10g is of the form: * [//]host_name[:port][/service_name]. From Oracle * 11g, the syntax is: * [//]host_name[:port][/service_name][:server_type][/instance_name]. * Service names can be found by running the Oracle * utility lsnrctl status on the database server * machine. *
** The tnsnames.ora file can be in the Oracle Net * search path, which * includes $ORACLE_HOME/network/admin * and /etc. Alternatively * set TNS_ADMIN so * that $TNS_ADMIN/tnsnames.ora is read. Make sure * the web daemon has read access to the file. *
* @param string $character_set [optional]Determines * the character set used by the Oracle Client libraries. The character * set does not need to match the character set used by the database. If * it doesn't match, Oracle will do its best to convert data to and from * the database character set. Depending on the character sets this may * not give usable results. Conversion also adds some time overhead. *
** If not specified, the * Oracle Client libraries determine a character set from * the NLS_LANG environment variable. *
** Passing this parameter can * reduce the time taken to connect. *
* @param int $session_mode [optional]This * parameter is available since version PHP 5 (PECL OCI8 1.1) and accepts the * following values: OCI_DEFAULT, * OCI_SYSOPER and OCI_SYSDBA. * If either OCI_SYSOPER or * OCI_SYSDBA were specified, this function will try * to establish privileged connection using external credentials. * Privileged connections are disabled by default. To enable them you * need to set oci8.privileged_connect * to On. *
** PHP 5.3 (PECL OCI8 1.3.4) introduced the * OCI_CRED_EXT mode value. This tells Oracle to use * External or OS authentication, which must be configured in the * database. The OCI_CRED_EXT flag can only be used * with username of "/" and a empty password. * oci8.privileged_connect * may be On or Off. *
** OCI_CRED_EXT may be combined with the * OCI_SYSOPER or * OCI_SYSDBA modes. *
** OCI_CRED_EXT is not supported on Windows for * security reasons. *
* @return resource|false A connection identifier or FALSE on error. */ function oci_new_connect($username, $password, $connection_string = null, $character_set = null, $session_mode = null) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* The Oracle user name. *
* @param string $password* The password for username. *
* @param string $connection_string [optional]Contains * the Oracle instance to connect to. It can be * an Easy Connect * string, or a Connect Name from * the tnsnames.ora file, or the name of a local * Oracle instance. *
** If not specified, PHP uses * environment variables such as TWO_TASK (on Linux) * or LOCAL (on Windows) * and ORACLE_SID to determine the * Oracle instance to connect to. *
** To use the Easy Connect naming method, PHP must be linked with Oracle * 10g or greater Client libraries. The Easy Connect string for Oracle * 10g is of the form: * [//]host_name[:port][/service_name]. From Oracle * 11g, the syntax is: * [//]host_name[:port][/service_name][:server_type][/instance_name]. * Service names can be found by running the Oracle * utility lsnrctl status on the database server * machine. *
** The tnsnames.ora file can be in the Oracle Net * search path, which * includes $ORACLE_HOME/network/admin * and /etc. Alternatively * set TNS_ADMIN so * that $TNS_ADMIN/tnsnames.ora is read. Make sure * the web daemon has read access to the file. *
* @param string $character_set [optional]Determines * the character set used by the Oracle Client libraries. The character * set does not need to match the character set used by the database. If * it doesn't match, Oracle will do its best to convert data to and from * the database character set. Depending on the character sets this may * not give usable results. Conversion also adds some time overhead. *
** If not specified, the * Oracle Client libraries determine a character set from * the NLS_LANG environment variable. *
** Passing this parameter can * reduce the time taken to connect. *
* @param int $session_mode [optional]This * parameter is available since version PHP 5 (PECL OCI8 1.1) and accepts the * following values: OCI_DEFAULT, * OCI_SYSOPER and OCI_SYSDBA. * If either OCI_SYSOPER or * OCI_SYSDBA were specified, this function will try * to establish privileged connection using external credentials. * Privileged connections are disabled by default. To enable them you * need to set oci8.privileged_connect * to On. *
** PHP 5.3 (PECL OCI8 1.3.4) introduced the * OCI_CRED_EXT mode value. This tells Oracle to use * External or OS authentication, which must be configured in the * database. The OCI_CRED_EXT flag can only be used * with username of "/" and a empty password. * oci8.privileged_connect * may be On or Off. *
** OCI_CRED_EXT may be combined with the * OCI_SYSOPER or * OCI_SYSDBA modes. *
** OCI_CRED_EXT is not supported on Windows for * security reasons. *
* @return resource|false A connection identifier or FALSE on error. */ function oci_pconnect($username, $password, $connection_string = null, $character_set = null, $session_mode = null) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* For most errors, resource is the * resource handle that was passed to the failing function call. * For connection errors with {@see oci_connect}, * {@see oci_new_connect} or * {@see oci_pconnect} do not pass resource. *
* @return array|false If no error is found, {@see oci_error} returns * FALSE. Otherwise, {@see oci_error} returns the * error information as an associative array. * **
Array key | *Type | *Description | *
code | *integer | ** The Oracle error number. * | *
message | *string | ** The Oracle error text. * | *
offset | *integer | ** The byte position of an error in the SQL statement. If there * was no statement, this is 0 * | *
sqltext | *string | ** The SQL statement text. If there was no statement, this is * an empty string. * | *
* A LOB identifier. *
* @param OCI_Lob $lob2* A LOB identifier. *
* @return bool TRUE if these objects are equal, FALSE otherwise. */ function oci_lob_is_equal( #[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob1, #[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob2 ) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* The destination LOB. *
* @param OCI_Lob $lob_from* The copied LOB. *
* @param int $length [optional]* Indicates the length of data to be copied. *
* @return bool TRUE on success or FALSE on failure. */ function oci_lob_copy( #[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_to, #[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_from, $length = 0 ) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* An Oracle connection identifier, returned by * {@see oci_connect}, {@see oci_pconnect}, or {@see oci_new_connect}. *
* @return bool TRUE on success or FALSE on failure. */ function oci_commit($connection) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* An Oracle connection identifier, returned by * {@see oci_connect}, {@see oci_pconnect} * or {@see oci_new_connect}. *
* @return bool TRUE on success or FALSE on failure. */ function oci_rollback($connection) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* An Oracle connection identifier, returned by * {@see oci_connect} or {@see oci_pconnect}. *
* @param int $type [optional]* Valid values for type are: * OCI_DTYPE_FILE, OCI_DTYPE_LOB and * OCI_DTYPE_ROWID. *
* @return OCI_Lob|OCILob|false A new LOB or FILE descriptor on success, FALSE on error. */ #[LanguageLevelTypeAware(['8.0' => 'OCILob|false'], default: 'OCI_Lob|false')] function oci_new_descriptor($connection, $type = OCI_DTYPE_LOB) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)A valid OCI8 statement * identifier created by {@see oci_parse} and executed * by {@see oci_execute}, or a REF * CURSOR statement identifier.
* @param int $rows* The number of rows to be prefetched, >= 0 *
* @return bool TRUE on success or FALSE on failure. */ function oci_set_prefetch($statement, $rows) {} /** * (PHP 5.3.2, PECL OCI8 >= 1.4.0)An Oracle connection identifier, * returned by {@see oci_connect}, {@see oci_pconnect}, * or {@see oci_new_connect}.
* @param string $client_identifier* User chosen string up to 64 bytes long. *
* @return bool TRUE on success or FALSE on failure. */ function oci_set_client_identifier($connection, $client_identifier) {} /** * (PHP 5.3.2, PECL OCI8 >= 1.4.0)* Oracle Database edition name previously created with the SQL * "CREATE EDITION" command. *
* @return bool TRUE on success or FALSE on failure. */ function oci_set_edition($edition) {} /** * (PHP 5.3.2, PECL OCI8 >= 1.4.0)An Oracle connection identifier, * returned by {@see oci_connect}, {@see oci_pconnect}, * or {@see oci_new_connect}.
* @param string $module_name* User chosen string up to 48 bytes long. *
* @return bool TRUE on success or FALSE on failure. */ function oci_set_module_name($connection, $module_name) {} /** * (PHP 5.3.2, PECL OCI8 >= 1.4.0)An Oracle connection identifier, * returned by {@see oci_connect}, {@see oci_pconnect}, * or {@see oci_new_connect}.
* @param string $action_name* User chosen string up to 32 bytes long. *
* @return bool TRUE on success or FALSE on failure. */ function oci_set_action($connection, $action_name) {} /** * (PHP 5.3.2, PECL OCI8 >= 1.4.0)An Oracle connection identifier, * returned by {@see oci_connect}, {@see oci_pconnect}, * or {@see oci_new_connect}.
* @param string $client_info* User chosen string up to 64 bytes long. *
* @return bool TRUE on success or FALSE on failure. */ function oci_set_client_info($connection, $client_info) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* An Oracle connection identifier, returned by * {@see oci_connect} or {@see oci_pconnect}. *
* @param string $username* The Oracle user name. *
* @param string $old_password* The old password. *
* @param string $new_password* The new password to be set. *
* @return bool TRUE on success or FALSE on failure. */ function oci_password_change($connection, $username, $old_password, $new_password) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)* An Oracle connection identifier, returned by * {@see oci_connect} or {@see oci_pconnect}. *
* @param string $tdo* Should be a valid named type (uppercase). *
* @param string $schema [optional]* Should point to the scheme, where the named type was created. The name * of the current user is the default value. *
* @return OCI_Collection|false A new OCICollection object or FALSE on * error. */ #[LanguageLevelTypeAware(['8.0' => 'OCICollection|false'], default: 'OCI_Collection|false')] function oci_new_collection($connection, $tdo, $schema = null) {} /** * Alias of {@see oci_free_statement()} * @link https://php.net/manual/en/function.ocifreecursor.php * @param $statement_resource * @return bool Returns TRUE on success or FALSE on failure. */ function oci_free_cursor($statement_resource) {} /** * (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)A valid OCI8 statement identifier created by {@see oci_parse()} and executed by {@see oci_execute()}, or a REF CURSOR statement identifier.
* @param string $column_nameThe column name used in the query. Use uppercase for Oracle's default, non-case sensitive column names. Use the exact column name case for case-sensitive column names.
* @param mixed &$variableThe PHP variable that will contain the returned column value.
* @param int $type [optional]The data type to be returned. Generally not needed. Note that Oracle-style data conversions are not performed. For example, SQLT_INT will be ignored and the returned data type will still be SQLT_CHR. * You can optionally use {@see oci_new_descriptor()} to allocate LOB/ROWID/BFILE descriptors.
* @return bool Returns TRUE on success or FALSE on failure. */ #[Deprecated(replacement: "oci_define_by_name", since: "5.4")] function ocidefinebyname($statement, $column_name, &$variable, $type = SQLT_CHR) {} /** * (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)Returns a connection identifier or FALSE on error.
*/ #[Deprecated(replacement: "oci_new_connect", since: "5.4")] function ocinlogon($username, $password, $connection_string, $character_set, $session_mode) {} /** * (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)The Oracle user name.
* @param string $passwordThe password for username
* @param $connection_string [optional] * @param $character_set [optional] * @param $session_mode [optional] * @return resource|falseReturns a connection identifier or FALSE on error.
*/ #[Deprecated(replacement: "oci_pconnect", since: "5.4")] function ociplogon($username, $password, $connection_string, $character_set, $session_mode) {} /** * (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)Returns TRUE on success or FALSE on failure.
*/ #[Deprecated(replacement: "OCI-Lob::free", since: "5.4")] function ocifreedesc($lob_descriptor) {} /** * (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)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 Returns TRUE on success or FALSE on failure. */ #[Deprecated(replacement: "OCI_Lob::export", since: "5.4")] function ociwritelobtofile( #[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_descriptor, $filename, $start, $length ) {} /** * (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)Returns the contents of the object, or FALSE on errors.
*/ #[Deprecated(replacement: "OCI_Lob::load", since: "5.4")] function ociloadlob(#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_descriptor) {} /** * (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)* An Oracle connection identifier, returned by * {@see oci_connect()}, * {@see oci_pconnect()}, or * {@see oci_new_connect()}. *
* @return boolReturns TRUE on success or FALSE on failure.
*/ #[Deprecated(replacement: "oci_commit", since: "5.4")] function ocicommit($connection_resource) {} /** * (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)Returns TRUE on success or FALSE on failure.
*/ #[Deprecated(replacement: "oci_rollback", since: "5.4")] function ocirollback($connection_resource) {} /** * (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)* An Oracle connection identifier, returned by * {@see oci_connect()} or {@see oci_pconnect()}. *
* @param $type [optional]Valid values for type are: OCI_DTYPE_FILE, OCI_DTYPE_LOB and OCI_DTYPE_ROWID.
* @return OCI_LOB|false Returns a new LOB or FILE descriptor on success, FALSE on error. */ #[Deprecated(replacement: "oci_new_descriptor", since: "5.4")] #[LanguageLevelTypeAware(['8.0' => 'OCILob|false'], default: 'OCI_Lob|false')] function ocinewdescriptor($connection_resource, $type = OCI_DTYPE_LOB) {} /** * (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)A valid OCI8 statement * identifier created by * {@see oci_parse()} and executed * by * {@see oci_execute()}, or a REF CURSOR statement identifier.
* @param $number_of_rows * @return boolReturns TRUE on success or FALSE on failure.
*/ #[Deprecated(replacement: "oci_set_prefetch", since: "5.4")] function ocisetprefetch($statement_resource, $number_of_rows) {} /** * (PHP 5, PECL OCI8 >= 1.1.0)An Oracle connection identifier, returned by * {@see oci_connect()} or * {@see oci_pconnect()}.
* @param string $usernameThe Oracle user name.
* @param string $old_passwordThe new password to be set.
* @param string $new_passwordThe new password to be set.
* @return resource|boolReturns TRUE on success or FALSE on failure or resource, depending on the function parameters.
*/ function ocipasswordchange($connection_resource_or_connection_string_or_dbname, $username, $old_password, $new_password) {} /** * (PHP 4 >= 4.0.7, PHP 5, PECL OCI8 >= 1.0.0)* An Oracle connection identifier, returned by * {@see oci_connect()} or * {@see oci_pconnect()}. * @param $tdo
Should be a valid named type (uppercase).
* @param $schemaShould point to the scheme, where the named type was created. The name of the current user is the default value.
* * @return OCI_Collection|falseReturns a new OCI_Collection object or FALSE on error.
*/ #[Deprecated(replacement: "oci_new_collection", since: "5.4")] #[LanguageLevelTypeAware(['8.0' => 'OCICollection|false'], default: 'OCI_Collection|false')] function ocinewcollection($connection_resource, $tdo, $schema = null) {} /** * (PHP 4 >= 4.0.6, PHP 5, PECL OCI8 >= 1.0.0)The value to be added to the collection. Can be a string or a number.
* @return boolReturns TRUE on success or FALSE on failure.
*/ #[Deprecated(replacement: "OCI_Collection::append", since: "5.4")] function ocicollappend(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection, $value) {} /** * (PHP 4 >= 4.0.6, PHP 5, PECL OCI8 >= 1.0.0)The element index. First index is 0.
* @return mixedReturns 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.
*/ #[Deprecated(replacement: "OCI_COLLection::getElem", since: "5.4")] function ocicollgetelem(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection, $index) {} /** * (PHP 4 >= 4.0.6, PHP 5, PECL OCI8 >= 1.0.0)The element index. First index is 0.
* @param $valueCan be a string or a number.
* @return boolReturns TRUE on success or FALSE on failure.
*/ #[Deprecated(replacement: "OCI_Collection::assignElem", since: "5.4")] function ocicollassignelem(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection, $index, $value) {} /** * (PHP 4 >= 4.0.6, PHP 5, PECL OCI8 >= 1.0.0)Returns the number of elements in the collection or FALSE on error.
*/ #[Deprecated(replacement: "OCI_COLLection::size", since: "5.4")] function ocicollsize(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection) {} /** * (PHP 4 >= 4.0.6, PHP 5, PECL OCI8 >= 1.0.0)Returns the maximum number as an integer, or FALSE on errors. * If the returned value is 0, then the number of elements is not limited.
*/ #[Deprecated(replacement: "OCI_COLLection::max", since: "5.4")] function ocicollmax(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection) {} /** * (PHP 4 >= 4.0.6, PHP 5, PECL OCI8 >= 1.0.0)The data to write.
* @param int $lob_type* Can be one of the following: *
Returns TRUE on success or FALSE on failure.
*/ #[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 ) {} /** * (PHP 4 >= 4.0.6, PECL OCI8 1.0) * Alias of {@see OCI-Lob::close()} * @link https://php.net/manual/en/function.ocicloselob.php * @param OCI_Lob|OCILob $lob_descriptor * @return boolReturns TRUE on success or FALSE on failure.
*/ #[Deprecated(replacement: "OCI-Lob::close()", since: "5.4")] function ocicloselob(#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_descriptor) {} /** * (PHP 4 >= 4.0.6, PECL OCI8 1.0) * Alias of {@see OCI-Collection::assign()} * Assigns a value to the collection from another existing collection * @link https://php.net/manual/en/function.ocicollassign.php * @param OCI_Collection $to * @param OCI_Collection $from An instance of OCI-Collection. * @return boolReturns TRUE on success or FALSE on failure.
*/ #[Deprecated(replacement: "OCI-Collection::assign", since: "5.4")] function ocicollassign( #[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $to, #[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $from ) {} /** * See OCI_NO_AUTO_COMMIT. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_DEFAULT', 0); /** * Used with {@see oci_connect} to connect with * the SYSOPER privilege. The php.ini setting * oci8.privileged_connect * should be enabled to use this. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_SYSOPER', 4); /** * Used with {@see oci_connect} to connect with * the SYSDBA privilege. The php.ini setting * oci8.privileged_connect * should be enabled to use this. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_SYSDBA', 2); /** * Used with {@see oci_connect} for using * Oracles' External or OS authentication. Introduced in PHP * 5.3 and PECL OCI8 1.3.4. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_CRED_EXT', -2147483648); /** * Statement execution mode * for {@see oci_execute}. Use this mode if you * want meta data such as the column names but don't want to * fetch rows from the query. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_DESCRIBE_ONLY', 16); /** * Statement execution mode for {@see oci_execute} * call. Automatically commit changes when the statement has * succeeded. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_COMMIT_ON_SUCCESS', 32); /** * Statement execution mode * for {@see oci_execute}. The transaction is not * automatically committed when using this mode. For * readability in new code, use this value instead of the * older, equivalent OCI_DEFAULT constant. * Introduced in PHP 5.3.2 (PECL OCI8 1.4). * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_NO_AUTO_COMMIT', 0); /** * Obsolete. Statement fetch mode. Used when the application * knows in advance exactly how many rows it will be fetching. * This mode turns prefetching off for Oracle release 8 or * later mode. The cursor is canceled after the desired rows * are fetched which may result in reduced server-side * resource usage. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_EXACT_FETCH', 2); /** * Used with to set the seek position. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_SEEK_SET', 0); /** * Used with to set the seek position. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_SEEK_CUR', 1); /** * Used with to set the seek position. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_SEEK_END', 2); /** * Used with to free * buffers used. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_LOB_BUFFER_FREE', 1); /** * The same as OCI_B_BFILE. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_BFILEE', 114); /** * The same as OCI_B_CFILEE. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_CFILEE', 115); /** * The same as OCI_B_CLOB. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_CLOB', 112); /** * The same as OCI_B_BLOB. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_BLOB', 113); /** * The same as OCI_B_ROWID. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_RDD', 104); /** * The same as OCI_B_INT. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_INT', 3); /** * The same as OCI_B_NUM. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_NUM', 2); /** * The same as OCI_B_CURSOR. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_RSET', 116); /** * Used with {@see oci_bind_array_by_name} to bind arrays of * CHAR. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_AFC', 96); /** * Used with {@see oci_bind_array_by_name} to bind arrays of * VARCHAR2. * Also used with {@see oci_bind_by_name}. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_CHR', 1); /** * Used with {@see oci_bind_array_by_name} to bind arrays of * VARCHAR. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_VCS', 9); /** * Used with {@see oci_bind_array_by_name} to bind arrays of * VARCHAR2. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_AVC', 97); /** * Used with {@see oci_bind_array_by_name} to bind arrays of * STRING. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_STR', 5); /** * Used with {@see oci_bind_array_by_name} to bind arrays of * LONG VARCHAR. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_LVC', 94); /** * Used with {@see oci_bind_array_by_name} to bind arrays of * FLOAT. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_FLT', 4); /** * Not supported. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_UIN', 68); /** * Used with {@see oci_bind_by_name} to bind LONG values. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_LNG', 8); /** * Used with {@see oci_bind_by_name} to bind LONG RAW values. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_LBI', 24); /** * The same as OCI_B_BIN. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_BIN', 23); /** * Used with {@see oci_bind_array_by_name} to bind arrays of * LONG. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_ODT', 156); /** * Not supported. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_BDOUBLE', 22); /** * Not supported. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_BFLOAT', 21); /** * Used with {@see oci_bind_by_name} when binding * named data types. Note: in PHP < 5.0 it was called * OCI_B_SQLT_NTY. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_B_NTY', 108); /** * The same as OCI_B_NTY. * @link https://php.net/manual/en/oci8.constants.php */ define('SQLT_NTY', 108); /** * Obsolete. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_SYSDATE', "SYSDATE"); /** * Used with {@see oci_bind_by_name} when binding * BFILEs. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_B_BFILE', 114); /** * Used with {@see oci_bind_by_name} when binding * CFILEs. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_B_CFILEE', 115); /** * Used with {@see oci_bind_by_name} when binding * CLOBs. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_B_CLOB', 112); /** * Used with {@see oci_bind_by_name} when * binding BLOBs. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_B_BLOB', 113); /** * Used with {@see oci_bind_by_name} when binding * ROWIDs. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_B_ROWID', 104); /** * Used with {@see oci_bind_by_name} when binding * cursors, previously allocated * with {@see oci_new_descriptor}. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_B_CURSOR', 116); /** * Used with {@see oci_bind_by_name} to bind RAW values. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_B_BIN', 23); /** * Used with {@see oci_bind_array_by_name} to bind arrays of * INTEGER. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_B_INT', 3); /** * Used with {@see oci_bind_array_by_name} to bind arrays of * NUMBER. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_B_NUM', 2); /** * Default mode of {@see oci_fetch_all}. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_FETCHSTATEMENT_BY_COLUMN', 16); /** * Alternative mode of {@see oci_fetch_all}. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_FETCHSTATEMENT_BY_ROW', 32); /** * Used with {@see oci_fetch_all} and * {@see oci_fetch_array} to get results as an associative * array. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_ASSOC', 1); /** * Used with {@see oci_fetch_all} and * {@see oci_fetch_array} to get results as an * enumerated array. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_NUM', 2); /** * Used with {@see oci_fetch_all} and * {@see oci_fetch_array} to get results as an * array with both associative and number indices. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_BOTH', 3); /** * Used with {@see oci_fetch_array} to get empty * array elements if the row items value is NULL. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_RETURN_NULLS', 4); /** * Used with {@see oci_fetch_array} to get the * data value of the LOB instead of the descriptor. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_RETURN_LOBS', 8); /** * This flag tells {@see oci_new_descriptor} to * initialize a new FILE descriptor. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_DTYPE_FILE', 56); /** * This flag tells {@see oci_new_descriptor} to * initialize a new LOB descriptor. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_DTYPE_LOB', 50); /** * This flag tells {@see oci_new_descriptor} to * initialize a new ROWID descriptor. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_DTYPE_ROWID', 54); /** * The same as OCI_DTYPE_FILE. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_D_FILE', 56); /** * The same as OCI_DTYPE_LOB. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_D_LOB', 50); /** * The same as OCI_DTYPE_ROWID. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_D_ROWID', 54); /** * Used with * to indicate that a temporary CLOB should be created. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_TEMP_CLOB', 2); /** * Used with * to indicate that a temporary BLOB should be created. * @link https://php.net/manual/en/oci8.constants.php */ define('OCI_TEMP_BLOB', 1); /** * (PECL OCI8 >= 2.0.7)