summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-07-25 08:58:13 +0200
committerRemi Collet <remi@php.net>2024-07-25 08:58:13 +0200
commit19b35ad50ed9d663c0b03e5f8f4ff4336cfeb0fe (patch)
treef67d69abe3f110b2afffdde46afbc6b801bd9de1
parentb090ae18cfef3368c062199e5a82f32ac7eabfa2 (diff)
update to 3.4.0
use oracle client library version 23.4 on x86_64, 19.23 on aarch64 build out of sources tree
-rw-r--r--.gitignore9
-rw-r--r--PHPINFO7
-rw-r--r--REFLECTION1358
-rw-r--r--oci8-2.0.8-conf.patch11
-rw-r--r--php-pecl-oci8.spec216
5 files changed, 840 insertions, 761 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..01f0400
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,9 @@
+clog
+package-*.xml
+*.tgz
+*.tar.bz2
+*.tar.gz
+*.tar.xz
+*.tar.xz.asc
+*.src.rpm
+*/*rpm
diff --git a/PHPINFO b/PHPINFO
index 76df586..334cefc 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -3,9 +3,9 @@ oci8
OCI8 Support => enabled
OCI8 DTrace Support => enabled
-OCI8 Version => 2.2.0
-Oracle Run-time Client Library Version => 18.3.0.0.0
-Oracle Compile-time Instant Client Version => 18.3
+OCI8 Version => 3.4.0
+Oracle Run-time Client Library Version => 23.4.0.24.5
+Oracle Compile-time Instant Client Version => 23.4
Directive => Local Value => Master Value
oci8.max_persistent => -1 => -1
@@ -17,6 +17,7 @@ oci8.default_prefetch => 100 => 100
oci8.old_oci_close_semantics => Off => Off
oci8.connection_class => no value => no value
oci8.events => Off => Off
+oci8.prefetch_lob_size => 0 => 0
Statistics =>
Active Persistent Connections => 0
diff --git a/REFLECTION b/REFLECTION
index 712740a..8a7ab44 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #122 oci8 version 2.2.0 ] {
+Extension [ <persistent> extension #84 oci8 version 3.4.0 ] {
- INI {
Entry [ oci8.max_persistent <SYSTEM> ]
@@ -28,970 +28,1080 @@ Extension [ <persistent> extension #122 oci8 version 2.2.0 ] {
Entry [ oci8.events <SYSTEM> ]
Current = '0'
}
+ Entry [ oci8.prefetch_lob_size <SYSTEM> ]
+ Current = '0'
+ }
}
- Constants [73] {
- Constant [ integer OCI_DEFAULT ] { 0 }
- Constant [ integer OCI_SYSOPER ] { 4 }
- Constant [ integer OCI_SYSDBA ] { 2 }
- Constant [ integer OCI_CRED_EXT ] { -2147483648 }
- Constant [ integer OCI_DESCRIBE_ONLY ] { 16 }
- Constant [ integer OCI_COMMIT_ON_SUCCESS ] { 32 }
- Constant [ integer OCI_NO_AUTO_COMMIT ] { 0 }
- Constant [ integer OCI_EXACT_FETCH ] { 2 }
- Constant [ integer OCI_SEEK_SET ] { 0 }
- Constant [ integer OCI_SEEK_CUR ] { 1 }
- Constant [ integer OCI_SEEK_END ] { 2 }
- Constant [ integer OCI_LOB_BUFFER_FREE ] { 1 }
- Constant [ integer SQLT_BFILEE ] { 114 }
- Constant [ integer SQLT_CFILEE ] { 115 }
- Constant [ integer SQLT_CLOB ] { 112 }
- Constant [ integer SQLT_BLOB ] { 113 }
- Constant [ integer SQLT_RDD ] { 104 }
- Constant [ integer SQLT_INT ] { 3 }
- Constant [ integer SQLT_NUM ] { 2 }
- Constant [ integer SQLT_RSET ] { 116 }
- Constant [ integer SQLT_AFC ] { 96 }
- Constant [ integer SQLT_CHR ] { 1 }
- Constant [ integer SQLT_VCS ] { 9 }
- Constant [ integer SQLT_AVC ] { 97 }
- Constant [ integer SQLT_STR ] { 5 }
- Constant [ integer SQLT_LVC ] { 94 }
- Constant [ integer SQLT_FLT ] { 4 }
- Constant [ integer SQLT_UIN ] { 68 }
- Constant [ integer SQLT_LNG ] { 8 }
- Constant [ integer SQLT_LBI ] { 24 }
- Constant [ integer SQLT_BIN ] { 23 }
- Constant [ integer SQLT_ODT ] { 156 }
- Constant [ integer SQLT_BDOUBLE ] { 22 }
- Constant [ integer SQLT_BFLOAT ] { 21 }
- Constant [ integer SQLT_BOL ] { 252 }
- Constant [ integer OCI_B_NTY ] { 108 }
- Constant [ integer SQLT_NTY ] { 108 }
+ Constant [ int OCI_DEFAULT ] { 0 }
+ Constant [ int OCI_SYSOPER ] { 4 }
+ Constant [ int OCI_SYSDBA ] { 2 }
+ Constant [ int OCI_CRED_EXT ] { 2147483648 }
+ Constant [ int OCI_DESCRIBE_ONLY ] { 16 }
+ Constant [ int OCI_COMMIT_ON_SUCCESS ] { 32 }
+ Constant [ int OCI_NO_AUTO_COMMIT ] { 0 }
+ Constant [ int OCI_EXACT_FETCH ] { 2 }
+ Constant [ int OCI_SEEK_SET ] { 0 }
+ Constant [ int OCI_SEEK_CUR ] { 1 }
+ Constant [ int OCI_SEEK_END ] { 2 }
+ Constant [ int OCI_LOB_BUFFER_FREE ] { 1 }
+ Constant [ int SQLT_BFILEE ] { 114 }
+ Constant [ int SQLT_CFILEE ] { 115 }
+ Constant [ int SQLT_CLOB ] { 112 }
+ Constant [ int SQLT_BLOB ] { 113 }
+ Constant [ int SQLT_RDD ] { 104 }
+ Constant [ int SQLT_INT ] { 3 }
+ Constant [ int SQLT_NUM ] { 2 }
+ Constant [ int SQLT_RSET ] { 116 }
+ Constant [ int SQLT_AFC ] { 96 }
+ Constant [ int SQLT_CHR ] { 1 }
+ Constant [ int SQLT_VCS ] { 9 }
+ Constant [ int SQLT_AVC ] { 97 }
+ Constant [ int SQLT_STR ] { 5 }
+ Constant [ int SQLT_LVC ] { 94 }
+ Constant [ int SQLT_FLT ] { 4 }
+ Constant [ int SQLT_UIN ] { 68 }
+ Constant [ int SQLT_LNG ] { 8 }
+ Constant [ int SQLT_LBI ] { 24 }
+ Constant [ int SQLT_BIN ] { 23 }
+ Constant [ int SQLT_ODT ] { 156 }
+ Constant [ int SQLT_BDOUBLE ] { 22 }
+ Constant [ int SQLT_BFLOAT ] { 21 }
+ Constant [ int SQLT_BOL ] { 252 }
+ Constant [ int OCI_B_NTY ] { 108 }
+ Constant [ int SQLT_NTY ] { 108 }
Constant [ string OCI_SYSDATE ] { SYSDATE }
- Constant [ integer OCI_B_BFILE ] { 114 }
- Constant [ integer OCI_B_CFILEE ] { 115 }
- Constant [ integer OCI_B_CLOB ] { 112 }
- Constant [ integer OCI_B_BLOB ] { 113 }
- Constant [ integer OCI_B_ROWID ] { 104 }
- Constant [ integer OCI_B_CURSOR ] { 116 }
- Constant [ integer OCI_B_BIN ] { 23 }
- Constant [ integer OCI_B_INT ] { 3 }
- Constant [ integer OCI_B_NUM ] { 2 }
- Constant [ integer OCI_B_BOL ] { 252 }
- Constant [ integer OCI_FETCHSTATEMENT_BY_COLUMN ] { 16 }
- Constant [ integer OCI_FETCHSTATEMENT_BY_ROW ] { 32 }
- Constant [ integer OCI_ASSOC ] { 1 }
- Constant [ integer OCI_NUM ] { 2 }
- Constant [ integer OCI_BOTH ] { 3 }
- Constant [ integer OCI_RETURN_NULLS ] { 4 }
- Constant [ integer OCI_RETURN_LOBS ] { 8 }
- Constant [ integer OCI_DTYPE_FILE ] { 56 }
- Constant [ integer OCI_DTYPE_LOB ] { 50 }
- Constant [ integer OCI_DTYPE_ROWID ] { 54 }
- Constant [ integer OCI_D_FILE ] { 56 }
- Constant [ integer OCI_D_LOB ] { 50 }
- Constant [ integer OCI_D_ROWID ] { 54 }
- Constant [ integer OCI_TEMP_CLOB ] { 2 }
- Constant [ integer OCI_TEMP_BLOB ] { 1 }
- Constant [ integer OCI_FO_END ] { 1 }
- Constant [ integer OCI_FO_ABORT ] { 2 }
- Constant [ integer OCI_FO_REAUTH ] { 4 }
- Constant [ integer OCI_FO_BEGIN ] { 8 }
- Constant [ integer OCI_FO_ERROR ] { 16 }
- Constant [ integer OCI_FO_NONE ] { 1 }
- Constant [ integer OCI_FO_SESSION ] { 2 }
- Constant [ integer OCI_FO_SELECT ] { 4 }
- Constant [ integer OCI_FO_TXNAL ] { 8 }
- Constant [ integer OCI_FO_RETRY ] { 25410 }
+ Constant [ int OCI_B_BFILE ] { 114 }
+ Constant [ int OCI_B_CFILEE ] { 115 }
+ Constant [ int OCI_B_CLOB ] { 112 }
+ Constant [ int OCI_B_BLOB ] { 113 }
+ Constant [ int OCI_B_ROWID ] { 104 }
+ Constant [ int OCI_B_CURSOR ] { 116 }
+ Constant [ int OCI_B_BIN ] { 23 }
+ Constant [ int OCI_B_INT ] { 3 }
+ Constant [ int OCI_B_NUM ] { 2 }
+ Constant [ int OCI_B_BOL ] { 252 }
+ Constant [ int OCI_FETCHSTATEMENT_BY_COLUMN ] { 16 }
+ Constant [ int OCI_FETCHSTATEMENT_BY_ROW ] { 32 }
+ Constant [ int OCI_ASSOC ] { 1 }
+ Constant [ int OCI_NUM ] { 2 }
+ Constant [ int OCI_BOTH ] { 3 }
+ Constant [ int OCI_RETURN_NULLS ] { 4 }
+ Constant [ int OCI_RETURN_LOBS ] { 8 }
+ Constant [ int OCI_DTYPE_FILE ] { 56 }
+ Constant [ int OCI_DTYPE_LOB ] { 50 }
+ Constant [ int OCI_DTYPE_ROWID ] { 54 }
+ Constant [ int OCI_D_FILE ] { 56 }
+ Constant [ int OCI_D_LOB ] { 50 }
+ Constant [ int OCI_D_ROWID ] { 54 }
+ Constant [ int OCI_TEMP_CLOB ] { 2 }
+ Constant [ int OCI_TEMP_BLOB ] { 1 }
+ Constant [ int OCI_FO_END ] { 1 }
+ Constant [ int OCI_FO_ABORT ] { 2 }
+ Constant [ int OCI_FO_REAUTH ] { 4 }
+ Constant [ int OCI_FO_BEGIN ] { 8 }
+ Constant [ int OCI_FO_ERROR ] { 16 }
+ Constant [ int OCI_FO_NONE ] { 1 }
+ Constant [ int OCI_FO_SESSION ] { 2 }
+ Constant [ int OCI_FO_SELECT ] { 4 }
+ Constant [ int OCI_FO_TXNAL ] { 8 }
+ Constant [ int OCI_FO_RETRY ] { 25410 }
}
- Functions {
Function [ <internal:oci8> function oci_define_by_name ] {
- Parameters [4] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_name ]
- Parameter #2 [ <required> &$variable ]
- Parameter #3 [ <optional> $type ]
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string $column ]
+ Parameter #2 [ <required> mixed &$var ]
+ Parameter #3 [ <optional> int $type = 0 ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_bind_by_name ] {
+ Function [ <internal, deprecated:oci8> function ocidefinebyname ] {
- - Parameters [5] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_name ]
- Parameter #2 [ <required> &$variable ]
- Parameter #3 [ <optional> $maximum_length ]
- Parameter #4 [ <optional> $type ]
+ - Parameters [4] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string $column ]
+ Parameter #2 [ <required> mixed &$var ]
+ Parameter #3 [ <optional> int $type = 0 ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_bind_array_by_name ] {
+ Function [ <internal:oci8> function oci_bind_by_name ] {
- - Parameters [6] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_name ]
- Parameter #2 [ <required> &$variable ]
- Parameter #3 [ <required> $maximum_array_length ]
- Parameter #4 [ <optional> $maximum_item_length ]
- Parameter #5 [ <optional> $type ]
+ - Parameters [5] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string $param ]
+ Parameter #2 [ <required> mixed &$var ]
+ Parameter #3 [ <optional> int $max_length = -1 ]
+ Parameter #4 [ <optional> int $type = 0 ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_field_is_null ] {
+ Function [ <internal, deprecated:oci8> function ocibindbyname ] {
- - Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_number_or_name ]
+ - Parameters [5] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string $param ]
+ Parameter #2 [ <required> mixed &$var ]
+ Parameter #3 [ <optional> int $max_length = -1 ]
+ Parameter #4 [ <optional> int $type = 0 ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_field_name ] {
+ Function [ <internal:oci8> function oci_bind_array_by_name ] {
- - Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_number_or_name ]
+ - Parameters [6] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string $param ]
+ Parameter #2 [ <required> &$var ]
+ Parameter #3 [ <required> int $max_array_length ]
+ Parameter #4 [ <optional> int $max_item_length = -1 ]
+ Parameter #5 [ <optional> int $type = SQLT_AFC ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_field_size ] {
+ Function [ <internal:oci8> function oci_free_descriptor ] {
- - Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_number_or_name ]
+ - Parameters [1] {
+ Parameter #0 [ <required> OCILob $lob ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_field_scale ] {
+ Function [ <internal, deprecated:oci8> function ocifreedesc ] {
- - Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_number_or_name ]
+ - Parameters [1] {
+ Parameter #0 [ <required> OCILob $lob ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_field_precision ] {
+ Function [ <internal:oci8> function oci_lob_save ] {
- - Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_number_or_name ]
+ - Parameters [3] {
+ Parameter #0 [ <required> OCILob $lob ]
+ Parameter #1 [ <required> string $data ]
+ Parameter #2 [ <optional> int $offset = 0 ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_field_type ] {
+ Function [ <internal, deprecated:oci8> function ocisavelob ] {
- - Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_number_or_name ]
+ - Parameters [3] {
+ Parameter #0 [ <required> OCILob $lob ]
+ Parameter #1 [ <required> string $data ]
+ Parameter #2 [ <optional> int $offset = 0 ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_field_type_raw ] {
+ Function [ <internal:oci8> function oci_lob_import ] {
- Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_number_or_name ]
+ Parameter #0 [ <required> OCILob $lob ]
+ Parameter #1 [ <required> string $filename ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_execute ] {
+ Function [ <internal, deprecated:oci8> function ocisavelobfile ] {
- Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <optional> $mode ]
+ Parameter #0 [ <required> OCILob $lob ]
+ Parameter #1 [ <required> string $filename ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_cancel ] {
+ Function [ <internal:oci8> function oci_lob_load ] {
- Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ Parameter #0 [ <required> OCILob $lob ]
}
+ - Return [ string|false ]
}
- Function [ <internal:oci8> function oci_fetch ] {
+ Function [ <internal, deprecated:oci8> function ociloadlob ] {
- Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ Parameter #0 [ <required> OCILob $lob ]
}
+ - Return [ string|false ]
}
- Function [ <internal:oci8> function oci_fetch_object ] {
+ Function [ <internal:oci8> function oci_lob_read ] {
- - Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ - Parameters [2] {
+ Parameter #0 [ <required> OCILob $lob ]
+ Parameter #1 [ <required> int $length ]
}
+ - Return [ string|false ]
}
- Function [ <internal:oci8> function oci_fetch_row ] {
+ Function [ <internal:oci8> function oci_lob_eof ] {
- Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ Parameter #0 [ <required> OCILob $lob ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_fetch_assoc ] {
+ Function [ <internal:oci8> function oci_lob_tell ] {
- Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ Parameter #0 [ <required> OCILob $lob ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function oci_fetch_array ] {
+ Function [ <internal:oci8> function oci_lob_rewind ] {
- - Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <optional> $mode ]
+ - Parameters [1] {
+ Parameter #0 [ <required> OCILob $lob ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocifetchinto ] {
+ Function [ <internal:oci8> function oci_lob_seek ] {
- Parameters [3] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> &$result ]
- Parameter #2 [ <optional> $mode ]
- }
- }
- Function [ <internal:oci8> function oci_fetch_all ] {
-
- - Parameters [5] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> &$output ]
- Parameter #2 [ <optional> $skip ]
- Parameter #3 [ <optional> $maximum_rows ]
- Parameter #4 [ <optional> $flags ]
+ Parameter #0 [ <required> OCILob $lob ]
+ Parameter #1 [ <required> int $offset ]
+ Parameter #2 [ <optional> int $whence = OCI_SEEK_SET ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_free_statement ] {
+ Function [ <internal:oci8> function oci_lob_size ] {
- Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ Parameter #0 [ <required> OCILob $lob ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function oci_internal_debug ] {
+ Function [ <internal:oci8> function oci_lob_write ] {
- - Parameters [1] {
- Parameter #0 [ <required> $mode ]
+ - Parameters [3] {
+ Parameter #0 [ <required> OCILob $lob ]
+ Parameter #1 [ <required> string $data ]
+ Parameter #2 [ <optional> ?int $length = null ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function oci_num_fields ] {
+ Function [ <internal:oci8> function oci_lob_append ] {
- - Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ - Parameters [2] {
+ Parameter #0 [ <required> OCILob $to ]
+ Parameter #1 [ <required> OCILob $from ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_parse ] {
+ Function [ <internal:oci8> function oci_lob_truncate ] {
- Parameters [2] {
- Parameter #0 [ <required> $connection_resource ]
- Parameter #1 [ <required> $sql_text ]
+ Parameter #0 [ <required> OCILob $lob ]
+ Parameter #1 [ <optional> int $length = 0 ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_get_implicit_resultset ] {
+ Function [ <internal:oci8> function oci_lob_erase ] {
- - Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ - Parameters [3] {
+ Parameter #0 [ <required> OCILob $lob ]
+ Parameter #1 [ <optional> ?int $offset = null ]
+ Parameter #2 [ <optional> ?int $length = null ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function oci_new_cursor ] {
+ Function [ <internal:oci8> function oci_lob_flush ] {
- - Parameters [1] {
- Parameter #0 [ <required> $connection_resource ]
+ - Parameters [2] {
+ Parameter #0 [ <required> OCILob $lob ]
+ Parameter #1 [ <optional> int $flag = 0 ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_result ] {
+ Function [ <internal:oci8> function ocisetbufferinglob ] {
- Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_number_or_name ]
+ Parameter #0 [ <required> OCILob $lob ]
+ Parameter #1 [ <required> bool $mode ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_client_version ] {
+ Function [ <internal:oci8> function ocigetbufferinglob ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <required> OCILob $lob ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_server_version ] {
+ Function [ <internal:oci8> function oci_lob_copy ] {
- - Parameters [1] {
- Parameter #0 [ <required> $connection_resource ]
+ - Parameters [3] {
+ Parameter #0 [ <required> OCILob $to ]
+ Parameter #1 [ <required> OCILob $from ]
+ Parameter #2 [ <optional> ?int $length = null ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_statement_type ] {
+ Function [ <internal:oci8> function oci_lob_is_equal ] {
- - Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ - Parameters [2] {
+ Parameter #0 [ <required> OCILob $lob1 ]
+ Parameter #1 [ <required> OCILob $lob2 ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_num_rows ] {
+ Function [ <internal:oci8> function oci_lob_export ] {
- - Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ - Parameters [4] {
+ Parameter #0 [ <required> OCILob $lob ]
+ Parameter #1 [ <required> string $filename ]
+ Parameter #2 [ <optional> ?int $offset = null ]
+ Parameter #3 [ <optional> ?int $length = null ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_close ] {
+ Function [ <internal, deprecated:oci8> function ociwritelobtofile ] {
- - Parameters [1] {
- Parameter #0 [ <required> $connection_resource ]
+ - Parameters [4] {
+ Parameter #0 [ <required> OCILob $lob ]
+ Parameter #1 [ <required> string $filename ]
+ Parameter #2 [ <optional> ?int $offset = null ]
+ Parameter #3 [ <optional> ?int $length = null ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_connect ] {
+ Function [ <internal:oci8> function oci_new_descriptor ] {
- - Parameters [5] {
- Parameter #0 [ <required> $username ]
- Parameter #1 [ <required> $password ]
- Parameter #2 [ <optional> $connection_string ]
- Parameter #3 [ <optional> $character_set ]
- Parameter #4 [ <optional> $session_mode ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <optional> int $type = OCI_DTYPE_LOB ]
}
+ - Return [ ?OCILob ]
}
- Function [ <internal:oci8> function oci_new_connect ] {
+ Function [ <internal, deprecated:oci8> function ocinewdescriptor ] {
- - Parameters [5] {
- Parameter #0 [ <required> $username ]
- Parameter #1 [ <required> $password ]
- Parameter #2 [ <optional> $connection_string ]
- Parameter #3 [ <optional> $character_set ]
- Parameter #4 [ <optional> $session_mode ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <optional> int $type = OCI_DTYPE_LOB ]
}
+ - Return [ ?OCILob ]
}
- Function [ <internal:oci8> function oci_pconnect ] {
+ Function [ <internal:oci8> function oci_rollback ] {
- - Parameters [5] {
- Parameter #0 [ <required> $username ]
- Parameter #1 [ <required> $password ]
- Parameter #2 [ <optional> $connection_string ]
- Parameter #3 [ <optional> $character_set ]
- Parameter #4 [ <optional> $session_mode ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $connection ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_error ] {
+ Function [ <internal, deprecated:oci8> function ocirollback ] {
- Parameters [1] {
- Parameter #0 [ <optional> $connection_or_statement_resource ]
+ Parameter #0 [ <required> $connection ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_free_descriptor ] {
+ Function [ <internal:oci8> function oci_commit ] {
- Parameters [1] {
- Parameter #0 [ <required> $lob_descriptor ]
+ Parameter #0 [ <required> $connection ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_lob_save ] {
+ Function [ <internal, deprecated:oci8> function ocicommit ] {
- - Parameters [3] {
- Parameter #0 [ <required> $lob_descriptor ]
- Parameter #1 [ <required> $data ]
- Parameter #2 [ <optional> $offset ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $connection ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_lob_import ] {
+ Function [ <internal:oci8> function oci_field_name ] {
- Parameters [2] {
- Parameter #0 [ <required> $lob_descriptor ]
- Parameter #1 [ <required> $filename ]
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string|int $column ]
}
+ - Return [ string|false ]
}
- Function [ <internal:oci8> function oci_lob_size ] {
+ Function [ <internal, deprecated:oci8> function ocicolumnname ] {
- - Parameters [1] {
- Parameter #0 [ <required> $lob_descriptor ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string|int $column ]
}
+ - Return [ string|false ]
}
- Function [ <internal:oci8> function oci_lob_load ] {
+ Function [ <internal:oci8> function oci_field_size ] {
- - Parameters [1] {
- Parameter #0 [ <required> $lob_descriptor ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string|int $column ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function oci_lob_read ] {
+ Function [ <internal, deprecated:oci8> function ocicolumnsize ] {
- Parameters [2] {
- Parameter #0 [ <required> $lob_descriptor ]
- Parameter #1 [ <required> $length ]
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string|int $column ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function oci_lob_eof ] {
+ Function [ <internal:oci8> function oci_field_scale ] {
- - Parameters [1] {
- Parameter #0 [ <required> $lob_descriptor ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string|int $column ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function oci_lob_tell ] {
+ Function [ <internal, deprecated:oci8> function ocicolumnscale ] {
- - Parameters [1] {
- Parameter #0 [ <required> $lob_descriptor ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string|int $column ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function oci_lob_truncate ] {
+ Function [ <internal:oci8> function oci_field_precision ] {
- Parameters [2] {
- Parameter #0 [ <required> $lob_descriptor ]
- Parameter #1 [ <optional> $length ]
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string|int $column ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function oci_lob_erase ] {
+ Function [ <internal, deprecated:oci8> function ocicolumnprecision ] {
- - Parameters [3] {
- Parameter #0 [ <required> $lob_descriptor ]
- Parameter #1 [ <optional> $offset ]
- Parameter #2 [ <optional> $length ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string|int $column ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function oci_lob_flush ] {
+ Function [ <internal:oci8> function oci_field_type ] {
- Parameters [2] {
- Parameter #0 [ <required> $lob_descriptor ]
- Parameter #1 [ <optional> $flag ]
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string|int $column ]
}
+ - Return [ string|int|false ]
}
- Function [ <internal:oci8> function ocisetbufferinglob ] {
+ Function [ <internal, deprecated:oci8> function ocicolumntype ] {
- Parameters [2] {
- Parameter #0 [ <required> $lob_descriptor ]
- Parameter #1 [ <required> $mode ]
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string|int $column ]
}
+ - Return [ string|int|false ]
}
- Function [ <internal:oci8> function ocigetbufferinglob ] {
+ Function [ <internal:oci8> function oci_field_type_raw ] {
- - Parameters [1] {
- Parameter #0 [ <required> $lob_descriptor ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string|int $column ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function oci_lob_is_equal ] {
+ Function [ <internal, deprecated:oci8> function ocicolumntyperaw ] {
- Parameters [2] {
- Parameter #0 [ <required> $lob_descriptor ]
- Parameter #1 [ <required> $lob_descriptor ]
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string|int $column ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function oci_lob_rewind ] {
+ Function [ <internal:oci8> function oci_field_is_null ] {
- - Parameters [1] {
- Parameter #0 [ <required> $lob_descriptor ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string|int $column ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_lob_write ] {
+ Function [ <internal, deprecated:oci8> function ocicolumnisnull ] {
- - Parameters [3] {
- Parameter #0 [ <required> $lob_descriptor ]
- Parameter #1 [ <required> $string ]
- Parameter #2 [ <optional> $length ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string|int $column ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_lob_append ] {
+ Function [ <internal:oci8> function oci_execute ] {
- Parameters [2] {
- Parameter #0 [ <required> $lob_descriptor_to ]
- Parameter #1 [ <required> $lob_descriptor_from ]
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <optional> int $mode = OCI_COMMIT_ON_SUCCESS ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_lob_copy ] {
+ Function [ <internal, deprecated:oci8> function ociexecute ] {
- - Parameters [3] {
- Parameter #0 [ <required> $lob_descriptor_to ]
- Parameter #1 [ <required> $lob_descriptor_from ]
- Parameter #2 [ <optional> $length ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <optional> int $mode = OCI_COMMIT_ON_SUCCESS ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_lob_export ] {
+ Function [ <internal:oci8> function oci_cancel ] {
- - Parameters [4] {
- Parameter #0 [ <required> $lob_descriptor ]
- Parameter #1 [ <required> $filename ]
- Parameter #2 [ <optional> $start ]
- Parameter #3 [ <optional> $length ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $statement ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_lob_seek ] {
+ Function [ <internal, deprecated:oci8> function ocicancel ] {
- - Parameters [3] {
- Parameter #0 [ <required> $lob_descriptor ]
- Parameter #1 [ <required> $offset ]
- Parameter #2 [ <optional> $whence ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $statement ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_commit ] {
+ Function [ <internal:oci8> function oci_fetch ] {
- Parameters [1] {
- Parameter #0 [ <required> $connection_resource ]
+ Parameter #0 [ <required> $statement ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_rollback ] {
+ Function [ <internal, deprecated:oci8> function ocifetch ] {
- Parameters [1] {
- Parameter #0 [ <required> $connection_resource ]
+ Parameter #0 [ <required> $statement ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_new_descriptor ] {
+ Function [ <internal, deprecated:oci8> function ocifetchinto ] {
- - Parameters [2] {
- Parameter #0 [ <required> $connection_resource ]
- Parameter #1 [ <optional> $type ]
+ - Parameters [3] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> &$result ]
+ Parameter #2 [ <optional> int $mode = OCI_NUM ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function oci_set_prefetch ] {
+ Function [ <internal:oci8> function oci_fetch_all ] {
- - Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $number_of_rows ]
+ - Parameters [5] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> &$output ]
+ Parameter #2 [ <optional> int $offset = 0 ]
+ Parameter #3 [ <optional> int $limit = -1 ]
+ Parameter #4 [ <optional> int $flags = OCI_FETCHSTATEMENT_BY_COLUMN | OCI_ASSOC ]
}
+ - Return [ int ]
}
- Function [ <internal:oci8> function oci_set_client_identifier ] {
+ Function [ <internal, deprecated:oci8> function ocifetchstatement ] {
- - Parameters [2] {
- Parameter #0 [ <required> $connection_resource ]
- Parameter #1 [ <required> $client_identifier ]
+ - Parameters [5] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> &$output ]
+ Parameter #2 [ <optional> int $offset = 0 ]
+ Parameter #3 [ <optional> int $limit = -1 ]
+ Parameter #4 [ <optional> int $flags = OCI_FETCHSTATEMENT_BY_COLUMN | OCI_ASSOC ]
}
+ - Return [ int ]
}
- Function [ <internal:oci8> function oci_set_db_operation ] {
+ Function [ <internal:oci8> function oci_fetch_object ] {
- Parameters [2] {
- Parameter #0 [ <required> $connection_resource ]
- Parameter #1 [ <required> $action ]
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <optional> int $mode = OCI_ASSOC | OCI_RETURN_NULLS ]
}
+ - Return [ stdClass|false ]
}
- Function [ <internal:oci8> function oci_set_call_timeout ] {
+ Function [ <internal:oci8> function oci_fetch_row ] {
- - Parameters [2] {
- Parameter #0 [ <required> $connection_resource ]
- Parameter #1 [ <required> $call_timeout ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $statement ]
}
+ - Return [ array|false ]
}
- Function [ <internal:oci8> function oci_set_edition ] {
+ Function [ <internal:oci8> function oci_fetch_assoc ] {
- Parameters [1] {
- Parameter #0 [ <required> $edition_name ]
+ Parameter #0 [ <required> $statement ]
}
+ - Return [ array|false ]
}
- Function [ <internal:oci8> function oci_set_module_name ] {
+ Function [ <internal:oci8> function oci_fetch_array ] {
- Parameters [2] {
- Parameter #0 [ <required> $connection_resource ]
- Parameter #1 [ <required> $module_name ]
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <optional> int $mode = OCI_BOTH | OCI_RETURN_NULLS ]
}
+ - Return [ array|false ]
}
- Function [ <internal:oci8> function oci_set_action ] {
+ Function [ <internal:oci8> function oci_free_statement ] {
- - Parameters [2] {
- Parameter #0 [ <required> $connection_resource ]
- Parameter #1 [ <required> $action ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $statement ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_set_client_info ] {
+ Function [ <internal, deprecated:oci8> function ocifreestatement ] {
- - Parameters [2] {
- Parameter #0 [ <required> $connection_resource ]
- Parameter #1 [ <required> $client_information ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $statement ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_password_change ] {
+ Function [ <internal:oci8> function oci_free_cursor ] {
- - Parameters [4] {
- Parameter #0 [ <required> $connection_resource_or_connection_string ]
- Parameter #1 [ <required> $username ]
- Parameter #2 [ <required> $old_password ]
- Parameter #3 [ <required> $new_password ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $statement ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_free_collection ] {
+ Function [ <internal, deprecated:oci8> function ocifreecursor ] {
- Parameters [1] {
- Parameter #0 [ <required> $collection ]
+ Parameter #0 [ <required> $statement ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function oci_collection_append ] {
+ Function [ <internal:oci8> function oci_close ] {
- - Parameters [2] {
- Parameter #0 [ <required> $collection ]
- Parameter #1 [ <required> $value ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $connection ]
}
+ - Return [ ?bool ]
}
- Function [ <internal:oci8> function oci_collection_element_get ] {
+ Function [ <internal, deprecated:oci8> function ocilogoff ] {
- - Parameters [2] {
- Parameter #0 [ <required> $collection ]
- Parameter #1 [ <required> $index ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $connection ]
}
+ - Return [ ?bool ]
}
- Function [ <internal:oci8> function oci_collection_element_assign ] {
+ Function [ <internal:oci8> function oci_new_connect ] {
- - Parameters [3] {
- Parameter #0 [ <required> $collection ]
- Parameter #1 [ <required> $index ]
- Parameter #2 [ <required> $value ]
+ - Parameters [5] {
+ Parameter #0 [ <required> string $username ]
+ Parameter #1 [ <required> string $password ]
+ Parameter #2 [ <optional> ?string $connection_string = null ]
+ Parameter #3 [ <optional> string $encoding = "" ]
+ Parameter #4 [ <optional> int $session_mode = OCI_DEFAULT ]
}
}
- Function [ <internal:oci8> function oci_collection_assign ] {
+ Function [ <internal, deprecated:oci8> function ocinlogon ] {
- - Parameters [2] {
- Parameter #0 [ <required> $collection_to ]
- Parameter #1 [ <required> $collection_from ]
+ - Parameters [5] {
+ Parameter #0 [ <required> string $username ]
+ Parameter #1 [ <required> string $password ]
+ Parameter #2 [ <optional> ?string $connection_string = null ]
+ Parameter #3 [ <optional> string $encoding = "" ]
+ Parameter #4 [ <optional> int $session_mode = OCI_DEFAULT ]
}
}
- Function [ <internal:oci8> function oci_collection_size ] {
+ Function [ <internal:oci8> function oci_connect ] {
- - Parameters [1] {
- Parameter #0 [ <required> $collection ]
+ - Parameters [5] {
+ Parameter #0 [ <required> string $username ]
+ Parameter #1 [ <required> string $password ]
+ Parameter #2 [ <optional> ?string $connection_string = null ]
+ Parameter #3 [ <optional> string $encoding = "" ]
+ Parameter #4 [ <optional> int $session_mode = OCI_DEFAULT ]
}
}
- Function [ <internal:oci8> function oci_collection_max ] {
+ Function [ <internal, deprecated:oci8> function ocilogon ] {
- - Parameters [1] {
- Parameter #0 [ <required> $collection ]
+ - Parameters [5] {
+ Parameter #0 [ <required> string $username ]
+ Parameter #1 [ <required> string $password ]
+ Parameter #2 [ <optional> ?string $connection_string = null ]
+ Parameter #3 [ <optional> string $encoding = "" ]
+ Parameter #4 [ <optional> int $session_mode = OCI_DEFAULT ]
}
}
- Function [ <internal:oci8> function oci_collection_trim ] {
+ Function [ <internal:oci8> function oci_pconnect ] {
- - Parameters [2] {
- Parameter #0 [ <required> $collection ]
- Parameter #1 [ <required> $number ]
+ - Parameters [5] {
+ Parameter #0 [ <required> string $username ]
+ Parameter #1 [ <required> string $password ]
+ Parameter #2 [ <optional> ?string $connection_string = null ]
+ Parameter #3 [ <optional> string $encoding = "" ]
+ Parameter #4 [ <optional> int $session_mode = OCI_DEFAULT ]
}
}
- Function [ <internal:oci8> function oci_new_collection ] {
+ Function [ <internal, deprecated:oci8> function ociplogon ] {
- - Parameters [3] {
- Parameter #0 [ <required> $connection_resource ]
- Parameter #1 [ <required> $type_name ]
- Parameter #2 [ <optional> $schema_name ]
+ - Parameters [5] {
+ Parameter #0 [ <required> string $username ]
+ Parameter #1 [ <required> string $password ]
+ Parameter #2 [ <optional> ?string $connection_string = null ]
+ Parameter #3 [ <optional> string $encoding = "" ]
+ Parameter #4 [ <optional> int $session_mode = OCI_DEFAULT ]
}
}
- Function [ <internal:oci8> function oci_register_taf_callback ] {
+ Function [ <internal:oci8> function oci_error ] {
- - Parameters [2] {
- Parameter #0 [ <required> $connection_resource ]
- Parameter #1 [ <optional> $function_name ]
+ - Parameters [1] {
+ Parameter #0 [ <optional> $connection_or_statement = null ]
}
+ - Return [ array|false ]
}
- Function [ <internal:oci8> function oci_unregister_taf_callback ] {
+ Function [ <internal, deprecated:oci8> function ocierror ] {
- Parameters [1] {
- Parameter #0 [ <required> $connection_resource ]
+ Parameter #0 [ <optional> $connection_or_statement = null ]
}
+ - Return [ array|false ]
}
- Function [ <internal:oci8> function oci_free_cursor ] {
+ Function [ <internal:oci8> function oci_num_fields ] {
- Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ Parameter #0 [ <required> $statement ]
}
+ - Return [ int ]
}
- Function [ <internal:oci8> function ocifreecursor ] {
+ Function [ <internal, deprecated:oci8> function ocinumcols ] {
- Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ Parameter #0 [ <required> $statement ]
}
+ - Return [ int ]
}
- Function [ <internal:oci8> function ocibindbyname ] {
+ Function [ <internal:oci8> function oci_parse ] {
- - Parameters [5] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_name ]
- Parameter #2 [ <required> &$variable ]
- Parameter #3 [ <optional> $maximum_length ]
- Parameter #4 [ <optional> $type ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <required> string $sql ]
}
}
- Function [ <internal:oci8> function ocidefinebyname ] {
+ Function [ <internal, deprecated:oci8> function ociparse ] {
- - Parameters [4] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_name ]
- Parameter #2 [ <required> &$variable ]
- Parameter #3 [ <optional> $type ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <required> string $sql ]
}
}
- Function [ <internal:oci8> function ocicolumnisnull ] {
+ Function [ <internal:oci8> function oci_get_implicit_resultset ] {
- - Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_number_or_name ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $statement ]
}
}
- Function [ <internal:oci8> function ocicolumnname ] {
+ Function [ <internal:oci8> function oci_set_prefetch ] {
- Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_number_or_name ]
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> int $rows ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocicolumnsize ] {
+ Function [ <internal, deprecated:oci8> function ocisetprefetch ] {
- Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_number_or_name ]
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> int $rows ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocicolumnscale ] {
+ Function [ <internal:oci8> function oci_set_prefetch_lob ] {
- Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_number_or_name ]
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> int $prefetch_lob_size ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocicolumnprecision ] {
+ Function [ <internal:oci8> function oci_set_client_identifier ] {
- Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_number_or_name ]
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <required> string $client_id ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocicolumntype ] {
+ Function [ <internal:oci8> function oci_set_edition ] {
- - Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_number_or_name ]
+ - Parameters [1] {
+ Parameter #0 [ <required> string $edition ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocicolumntyperaw ] {
+ Function [ <internal:oci8> function oci_set_module_name ] {
- Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_number_or_name ]
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <required> string $name ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ociexecute ] {
+ Function [ <internal:oci8> function oci_set_action ] {
- Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <optional> $mode ]
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <required> string $action ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocicancel ] {
+ Function [ <internal:oci8> function oci_set_client_info ] {
- - Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <required> string $client_info ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocifetch ] {
+ Function [ <internal:oci8> function oci_set_db_operation ] {
- - Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <required> string $action ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocifetchstatement ] {
+ Function [ <internal:oci8> function oci_set_call_timeout ] {
- - Parameters [5] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> &$output ]
- Parameter #2 [ <optional> $skip ]
- Parameter #3 [ <optional> $maximum_rows ]
- Parameter #4 [ <optional> $flags ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <required> int $timeout ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocifreestatement ] {
+ Function [ <internal:oci8> function oci_password_change ] {
- - Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ - Parameters [4] {
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <required> string $username ]
+ Parameter #2 [ <required> string $old_password ]
+ Parameter #3 [ <required> string $new_password ]
}
}
- Function [ <internal:oci8> function ociinternaldebug ] {
+ Function [ <internal, deprecated:oci8> function ocipasswordchange ] {
- - Parameters [1] {
- Parameter #0 [ <required> $mode ]
+ - Parameters [4] {
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <required> string $username ]
+ Parameter #2 [ <required> string $old_password ]
+ Parameter #3 [ <required> string $new_password ]
}
}
- Function [ <internal:oci8> function ocinumcols ] {
+ Function [ <internal:oci8> function oci_new_cursor ] {
- Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ Parameter #0 [ <required> $connection ]
}
}
- Function [ <internal:oci8> function ociparse ] {
+ Function [ <internal, deprecated:oci8> function ocinewcursor ] {
- - Parameters [2] {
- Parameter #0 [ <required> $connection_resource ]
- Parameter #1 [ <required> $sql_text ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $connection ]
}
}
- Function [ <internal:oci8> function ocinewcursor ] {
+ Function [ <internal:oci8> function oci_result ] {
- - Parameters [1] {
- Parameter #0 [ <required> $connection_resource ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string|int $column ]
}
+ - Return [ mixed ]
}
- Function [ <internal:oci8> function ociresult ] {
+ Function [ <internal, deprecated:oci8> function ociresult ] {
- Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $column_number_or_name ]
+ Parameter #0 [ <required> $statement ]
+ Parameter #1 [ <required> string|int $column ]
}
+ - Return [ mixed ]
}
- Function [ <internal:oci8> function ociserverversion ] {
+ Function [ <internal:oci8> function oci_client_version ] {
- - Parameters [1] {
- Parameter #0 [ <required> $connection_resource ]
+ - Parameters [0] {
}
+ - Return [ string ]
}
- Function [ <internal:oci8> function ocistatementtype ] {
+ Function [ <internal:oci8> function oci_server_version ] {
- Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ Parameter #0 [ <required> $connection ]
}
+ - Return [ string|false ]
}
- Function [ <internal:oci8> function ocirowcount ] {
+ Function [ <internal, deprecated:oci8> function ociserverversion ] {
- Parameters [1] {
- Parameter #0 [ <required> $statement_resource ]
+ Parameter #0 [ <required> $connection ]
}
+ - Return [ string|false ]
}
- Function [ <internal:oci8> function ocilogoff ] {
+ Function [ <internal:oci8> function oci_statement_type ] {
- Parameters [1] {
- Parameter #0 [ <required> $connection_resource ]
+ Parameter #0 [ <required> $statement ]
}
+ - Return [ string|false ]
}
- Function [ <internal:oci8> function ocilogon ] {
+ Function [ <internal, deprecated:oci8> function ocistatementtype ] {
- - Parameters [5] {
- Parameter #0 [ <required> $username ]
- Parameter #1 [ <required> $password ]
- Parameter #2 [ <optional> $connection_string ]
- Parameter #3 [ <optional> $character_set ]
- Parameter #4 [ <optional> $session_mode ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $statement ]
}
+ - Return [ string|false ]
}
- Function [ <internal:oci8> function ocinlogon ] {
+ Function [ <internal:oci8> function oci_num_rows ] {
- - Parameters [5] {
- Parameter #0 [ <required> $username ]
- Parameter #1 [ <required> $password ]
- Parameter #2 [ <optional> $connection_string ]
- Parameter #3 [ <optional> $character_set ]
- Parameter #4 [ <optional> $session_mode ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $statement ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function ociplogon ] {
+ Function [ <internal, deprecated:oci8> function ocirowcount ] {
- - Parameters [5] {
- Parameter #0 [ <required> $username ]
- Parameter #1 [ <required> $password ]
- Parameter #2 [ <optional> $connection_string ]
- Parameter #3 [ <optional> $character_set ]
- Parameter #4 [ <optional> $session_mode ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $statement ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function ocierror ] {
+ Function [ <internal:oci8> function oci_free_collection ] {
- Parameters [1] {
- Parameter #0 [ <optional> $connection_or_statement_resource ]
+ Parameter #0 [ <required> OCICollection $collection ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocifreedesc ] {
+ Function [ <internal, deprecated:oci8> function ocifreecollection ] {
- Parameters [1] {
- Parameter #0 [ <required> $lob_descriptor ]
+ Parameter #0 [ <required> OCICollection $collection ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocisavelob ] {
+ Function [ <internal:oci8> function oci_collection_append ] {
- - Parameters [3] {
- Parameter #0 [ <required> $lob_descriptor ]
- Parameter #1 [ <required> $data ]
- Parameter #2 [ <optional> $offset ]
+ - Parameters [2] {
+ Parameter #0 [ <required> OCICollection $collection ]
+ Parameter #1 [ <required> string $value ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocisavelobfile ] {
+ Function [ <internal, deprecated:oci8> function ocicollappend ] {
- Parameters [2] {
- Parameter #0 [ <required> $lob_descriptor ]
- Parameter #1 [ <required> $filename ]
+ Parameter #0 [ <required> OCICollection $collection ]
+ Parameter #1 [ <required> string $value ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ociwritelobtofile ] {
+ Function [ <internal:oci8> function oci_collection_element_get ] {
- - Parameters [4] {
- Parameter #0 [ <required> $lob_descriptor ]
- Parameter #1 [ <required> $filename ]
- Parameter #2 [ <optional> $start ]
- Parameter #3 [ <optional> $length ]
+ - Parameters [2] {
+ Parameter #0 [ <required> OCICollection $collection ]
+ Parameter #1 [ <required> int $index ]
}
+ - Return [ string|float|false|null ]
}
- Function [ <internal:oci8> function ociloadlob ] {
+ Function [ <internal, deprecated:oci8> function ocicollgetelem ] {
- - Parameters [1] {
- Parameter #0 [ <required> $lob_descriptor ]
+ - Parameters [2] {
+ Parameter #0 [ <required> OCICollection $collection ]
+ Parameter #1 [ <required> int $index ]
}
+ - Return [ string|float|false|null ]
}
- Function [ <internal:oci8> function ocicommit ] {
+ Function [ <internal:oci8> function oci_collection_assign ] {
- - Parameters [1] {
- Parameter #0 [ <required> $connection_resource ]
+ - Parameters [2] {
+ Parameter #0 [ <required> OCICollection $to ]
+ Parameter #1 [ <required> OCICollection $from ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocirollback ] {
+ Function [ <internal:oci8> function oci_collection_element_assign ] {
- - Parameters [1] {
- Parameter #0 [ <required> $connection_resource ]
+ - Parameters [3] {
+ Parameter #0 [ <required> OCICollection $collection ]
+ Parameter #1 [ <required> int $index ]
+ Parameter #2 [ <required> string $value ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocinewdescriptor ] {
+ Function [ <internal, deprecated:oci8> function ocicollassignelem ] {
- - Parameters [2] {
- Parameter #0 [ <required> $connection_resource ]
- Parameter #1 [ <optional> $type ]
+ - Parameters [3] {
+ Parameter #0 [ <required> OCICollection $collection ]
+ Parameter #1 [ <required> int $index ]
+ Parameter #2 [ <required> string $value ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocisetprefetch ] {
+ Function [ <internal:oci8> function oci_collection_size ] {
- - Parameters [2] {
- Parameter #0 [ <required> $statement_resource ]
- Parameter #1 [ <required> $number_of_rows ]
+ - Parameters [1] {
+ Parameter #0 [ <required> OCICollection $collection ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function ocipasswordchange ] {
+ Function [ <internal, deprecated:oci8> function ocicollsize ] {
- - Parameters [4] {
- Parameter #0 [ <required> $connection_resource_or_connection_string ]
- Parameter #1 [ <required> $username ]
- Parameter #2 [ <required> $old_password ]
- Parameter #3 [ <required> $new_password ]
+ - Parameters [1] {
+ Parameter #0 [ <required> OCICollection $collection ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function ocifreecollection ] {
+ Function [ <internal:oci8> function oci_collection_max ] {
- Parameters [1] {
- Parameter #0 [ <required> $collection ]
+ Parameter #0 [ <required> OCICollection $collection ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function ocinewcollection ] {
+ Function [ <internal, deprecated:oci8> function ocicollmax ] {
- - Parameters [3] {
- Parameter #0 [ <required> $connection_resource ]
- Parameter #1 [ <required> $type_name ]
- Parameter #2 [ <optional> $schema_name ]
+ - Parameters [1] {
+ Parameter #0 [ <required> OCICollection $collection ]
}
+ - Return [ int|false ]
}
- Function [ <internal:oci8> function ocicollappend ] {
+ Function [ <internal:oci8> function oci_collection_trim ] {
- Parameters [2] {
- Parameter #0 [ <required> $collection ]
- Parameter #1 [ <required> $value ]
+ Parameter #0 [ <required> OCICollection $collection ]
+ Parameter #1 [ <required> int $num ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocicollgetelem ] {
+ Function [ <internal, deprecated:oci8> function ocicolltrim ] {
- Parameters [2] {
- Parameter #0 [ <required> $collection ]
- Parameter #1 [ <required> $index ]
+ Parameter #0 [ <required> OCICollection $collection ]
+ Parameter #1 [ <required> int $num ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocicollassignelem ] {
+ Function [ <internal:oci8> function oci_new_collection ] {
- Parameters [3] {
- Parameter #0 [ <required> $collection ]
- Parameter #1 [ <required> $index ]
- Parameter #2 [ <required> $value ]
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <required> string $type_name ]
+ Parameter #2 [ <optional> ?string $schema = null ]
}
+ - Return [ OCICollection|false ]
}
- Function [ <internal:oci8> function ocicollsize ] {
+ Function [ <internal, deprecated:oci8> function ocinewcollection ] {
- - Parameters [1] {
- Parameter #0 [ <required> $collection ]
+ - Parameters [3] {
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <required> string $type_name ]
+ Parameter #2 [ <optional> ?string $schema = null ]
}
+ - Return [ OCICollection|false ]
}
- Function [ <internal:oci8> function ocicollmax ] {
+ Function [ <internal:oci8> function oci_register_taf_callback ] {
- - Parameters [1] {
- Parameter #0 [ <required> $collection ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $connection ]
+ Parameter #1 [ <required> ?callable $callback ]
}
+ - Return [ bool ]
}
- Function [ <internal:oci8> function ocicolltrim ] {
+ Function [ <internal:oci8> function oci_unregister_taf_callback ] {
- - Parameters [2] {
- Parameter #0 [ <required> $collection ]
- Parameter #1 [ <required> $number ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $connection ]
}
+ - Return [ bool ]
}
}
- Classes [2] {
- Class [ <internal:oci8> class OCI-Lob ] {
+ Class [ <internal:oci8> class OCILob ] {
- Constants [0] {
}
@@ -1006,164 +1116,186 @@ Extension [ <persistent> extension #122 oci8 version 2.2.0 ] {
}
- Methods [22] {
- Method [ <internal:oci8> public method load ] {
+ Method [ <internal:oci8> public method save ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> string $data ]
+ Parameter #1 [ <optional> int $offset = 0 ]
}
+ - Tentative return [ bool ]
}
- Method [ <internal:oci8> public method tell ] {
+ Method [ <internal:oci8> public method import ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <required> string $filename ]
}
+ - Tentative return [ bool ]
}
- Method [ <internal:oci8> public method truncate ] {
+ Method [ <internal:oci8> public method saveFile ] {
- Parameters [1] {
- Parameter #0 [ <optional> $length ]
+ Parameter #0 [ <required> string $filename ]
}
+ - Tentative return [ bool ]
}
- Method [ <internal:oci8> public method erase ] {
+ Method [ <internal:oci8> public method load ] {
- - Parameters [2] {
- Parameter #0 [ <optional> $offset ]
- Parameter #1 [ <optional> $length ]
+ - Parameters [0] {
}
+ - Tentative return [ string|false ]
}
- Method [ <internal:oci8> public method flush ] {
+ Method [ <internal:oci8> public method read ] {
- Parameters [1] {
- Parameter #0 [ <optional> $flag ]
+ Parameter #0 [ <required> int $length ]
}
+ - Tentative return [ string|false ]
}
- Method [ <internal:oci8> public method setbuffering ] {
+ Method [ <internal:oci8> public method eof ] {
- - Parameters [1] {
- Parameter #0 [ <required> $mode ]
+ - Parameters [0] {
}
+ - Tentative return [ bool ]
}
- Method [ <internal:oci8> public method getbuffering ] {
+ Method [ <internal:oci8> public method tell ] {
- Parameters [0] {
}
+ - Tentative return [ int|false ]
}
Method [ <internal:oci8> public method rewind ] {
- Parameters [0] {
}
+ - Tentative return [ bool ]
}
- Method [ <internal:oci8> public method read ] {
+ Method [ <internal:oci8> public method seek ] {
- - Parameters [1] {
- Parameter #0 [ <required> $length ]
+ - Parameters [2] {
+ Parameter #0 [ <required> int $offset ]
+ Parameter #1 [ <optional> int $whence = OCI_SEEK_SET ]
}
+ - Tentative return [ bool ]
}
- Method [ <internal:oci8> public method eof ] {
+ Method [ <internal:oci8> public method size ] {
- Parameters [0] {
}
+ - Tentative return [ int|false ]
}
- Method [ <internal:oci8> public method seek ] {
+ Method [ <internal:oci8> public method write ] {
- Parameters [2] {
- Parameter #0 [ <required> $offset ]
- Parameter #1 [ <optional> $whence ]
+ Parameter #0 [ <required> string $data ]
+ Parameter #1 [ <optional> ?int $length = null ]
}
+ - Tentative return [ int|false ]
}
- Method [ <internal:oci8> public method write ] {
+ Method [ <internal:oci8> public method append ] {
- - Parameters [2] {
- Parameter #0 [ <required> $string ]
- Parameter #1 [ <optional> $length ]
+ - Parameters [1] {
+ Parameter #0 [ <required> OCILob $from ]
}
+ - Tentative return [ bool ]
}
- Method [ <internal:oci8> public method append ] {
+ Method [ <internal:oci8> public method truncate ] {
- Parameters [1] {
- Parameter #0 [ <required> $lob_descriptor_from ]
+ Parameter #0 [ <optional> int $length = 0 ]
}
+ - Tentative return [ bool ]
}
- Method [ <internal:oci8> public method size ] {
+ Method [ <internal:oci8> public method erase ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <optional> ?int $offset = null ]
+ Parameter #1 [ <optional> ?int $length = null ]
}
+ - Tentative return [ int|false ]
}
- Method [ <internal:oci8> public method writetofile ] {
+ Method [ <internal:oci8> public method flush ] {
- - Parameters [3] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <optional> $start ]
- Parameter #2 [ <optional> $length ]
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $flag = 0 ]
}
+ - Tentative return [ bool ]
}
- Method [ <internal:oci8> public method export ] {
+ Method [ <internal:oci8> public method setBuffering ] {
- - Parameters [3] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <optional> $start ]
- Parameter #2 [ <optional> $length ]
+ - Parameters [1] {
+ Parameter #0 [ <required> bool $mode ]
}
+ - Tentative return [ bool ]
}
- Method [ <internal:oci8> public method import ] {
+ Method [ <internal:oci8> public method getBuffering ] {
- - Parameters [1] {
- Parameter #0 [ <required> $filename ]
+ - Parameters [0] {
}
+ - Tentative return [ bool ]
}
- Method [ <internal:oci8> public method writetemporary ] {
+ Method [ <internal:oci8> public method writeToFile ] {
- - Parameters [2] {
- Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $type ]
+ - Parameters [3] {
+ Parameter #0 [ <required> string $filename ]
+ Parameter #1 [ <optional> ?int $offset = null ]
+ Parameter #2 [ <optional> ?int $length = null ]
}
+ - Tentative return [ bool ]
}
- Method [ <internal:oci8> public method close ] {
+ Method [ <internal:oci8> public method export ] {
- - Parameters [0] {
+ - Parameters [3] {
+ Parameter #0 [ <required> string $filename ]
+ Parameter #1 [ <optional> ?int $offset = null ]
+ Parameter #2 [ <optional> ?int $length = null ]
}
+ - Tentative return [ bool ]
}
- Method [ <internal:oci8> public method save ] {
+ Method [ <internal:oci8> public method writeTemporary ] {
- Parameters [2] {
- Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $offset ]
+ Parameter #0 [ <required> string $data ]
+ Parameter #1 [ <optional> int $type = OCI_TEMP_CLOB ]
}
+ - Tentative return [ bool ]
}
- Method [ <internal:oci8> public method savefile ] {
+ Method [ <internal:oci8> public method close ] {
- - Parameters [1] {
- Parameter #0 [ <required> $filename ]
+ - Parameters [0] {
}
+ - Tentative return [ bool ]
}
Method [ <internal:oci8> public method free ] {
- Parameters [0] {
}
+ - Tentative return [ bool ]
}
}
}
- Class [ <internal:oci8> class OCI-Collection ] {
+ Class [ <internal:oci8> class OCICollection ] {
- Constants [0] {
}
@@ -1178,58 +1310,66 @@ Extension [ <persistent> extension #122 oci8 version 2.2.0 ] {
}
- Methods [8] {
- Method [ <internal:oci8> public method append ] {
+ Method [ <internal:oci8> public method free ] {
- - Parameters [1] {
- Parameter #0 [ <required> $value ]
+ - Parameters [0] {
}
+ - Tentative return [ bool ]
}
- Method [ <internal:oci8> public method getelem ] {
+ Method [ <internal:oci8> public method append ] {
- Parameters [1] {
- Parameter #0 [ <required> $index ]
+ Parameter #0 [ <required> string $value ]
}
+ - Tentative return [ bool ]
}
- Method [ <internal:oci8> public method assignelem ] {
+ Method [ <internal:oci8> public method getElem ] {
- - Parameters [2] {
- Parameter #0 [ <required> $index ]
- Parameter #1 [ <required> $value ]
+ - Parameters [1] {
+ Parameter #0 [ <required> int $index ]
}
+ - Tentative return [ string|float|false|null ]
}
Method [ <internal:oci8> public method assign ] {
- Parameters [1] {
- Parameter #0 [ <required> $collection_from ]
+ Parameter #0 [ <required> OCICollection $from ]
+ }
+ - Tentative return [ bool ]
+ }
+
+ Method [ <internal:oci8> public method assignElem ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> int $index ]
+ Parameter #1 [ <required> string $value ]
}
+ - Tentative return [ bool ]
}
Method [ <internal:oci8> public method size ] {
- Parameters [0] {
}
+ - Tentative return [ int|false ]
}
Method [ <internal:oci8> public method max ] {
- Parameters [0] {
}
+ - Tentative return [ int|false ]
}
Method [ <internal:oci8> public method trim ] {
- Parameters [1] {
- Parameter #0 [ <required> $number ]
- }
- }
-
- Method [ <internal:oci8> public method free ] {
-
- - Parameters [0] {
+ Parameter #0 [ <required> int $num ]
}
+ - Tentative return [ bool ]
}
}
}
diff --git a/oci8-2.0.8-conf.patch b/oci8-2.0.8-conf.patch
deleted file mode 100644
index e25bde1..0000000
--- a/oci8-2.0.8-conf.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -up php5.3-201104170830/ext/oci8/config.m4.remi-oci8 php5.3-201104170830/ext/oci8/config.m4
---- config.m4.remi-oci8 2011-03-30 00:35:22.000000000 +0200
-+++ config.m4 2011-04-17 11:55:25.628871315 +0200
-@@ -291,6 +291,7 @@ if test "$PHP_OCI8" != "no"; then
-
- dnl Header directory for Instant Client SDK RPM install
- OCISDKRPMINC=`echo "$PHP_OCI8_INSTANT_CLIENT" | $PHP_OCI8_SED -e 's!^/usr/lib/oracle/\(.*\)/client\('${PHP_OCI8_IC_LIBDIR_SUFFIX}'\)*/lib[/]*$!/usr/include/oracle/\1/client\2!'`
-+ OCISDKRPMINC=`echo "$PHP_OCI8_INSTANT_CLIENT" | $PHP_OCI8_SED -e 's!^/usr/\(lib64\|lib\)/oracle/\(.*\)/\(client64\|client\)/lib[/]*$!/usr/include/oracle/\2/\3!'`
-
- dnl Header directory for Instant Client SDK zip file install
- OCISDKZIPINC=$PHP_OCI8_INSTANT_CLIENT/sdk/include
diff --git a/php-pecl-oci8.spec b/php-pecl-oci8.spec
index 0f8adf5..6050c02 100644
--- a/php-pecl-oci8.spec
+++ b/php-pecl-oci8.spec
@@ -1,46 +1,44 @@
# remirepo spec file for php-pecl-oci8
#
-# Copyright (c) 2014-2020 Remi Collet
+# Copyright (c) 2014-2024 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
%{?scl: %scl_package php-pecl-oci8}
-%{!?scl: %global _root_libdir %{_libdir}}
-
-%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
-%global pecl_name oci8
-%global with_tests 0%{?_with_tests:1}
-%global ini_name 40-%{pecl_name}.ini
-%if 0%{?rhel} == 6
-%ifarch x86_64
-%global oraclever 18.5
-%else
-%global oraclever 18.3
-%endif
-%global oraclelib 18.1
-%else
-%global oraclever 19.5
+%{!?scl: %global _root_prefix %{_prefix}}
+
+%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
+%global pecl_name oci8
+%global ini_name 40-%{pecl_name}.ini
+%global sources %{pecl_name}-%{version}
+%global _configure ../%{sources}/configure
+
+%ifarch aarch64
+%global oraclever 19.23
+%global oraclemax 20
%global oraclelib 19.1
+%global oracledir 19.23
+%else
+%global oraclever 23.4
+%global oraclemax 24
+%global oraclelib 23.1
+%global oracledir 23
%endif
%global with_dtrace 1
Summary: Extension for Oracle Database
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 2.2.0
-Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Version: 3.4.0
+Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
-License: PHP
+License: PHP-3.01
URL: https://pecl.php.net/package/%{pecl_name}
-Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
+Source0: https://pecl.php.net/get/%{sources}.tgz
-# Fix header/library detection
-Patch0: %{pecl_name}-2.0.8-conf.patch
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: %{?scl_prefix}php-devel > 7
+BuildRequires: %{?scl_prefix}php-devel >= 8.2
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: oracle-instantclient-devel >= %{oraclever}
%if %{with_dtrace}
@@ -49,43 +47,24 @@ BuildRequires: systemtap-sdt-devel
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
-# Should requires libclntsh.so.12.1 but it's not provided by Oracle RPM.
+%ifarch aarch64
+BuildRequires: oracle-instantclient%{oraclever}-devel
+# Should requires libclntsh.so.19.1()(aarch-64), but it's not provided by Oracle RPM.
+Requires: libclntsh.so.%{oraclelib}
AutoReq: 0
-
-Conflicts: %{?scl_prefix}php-%{pecl_name} < %{version}
-Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
-Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
-Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
-Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
-%if "%{php_version}" > "5.6"
-Obsoletes: php56u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php56w-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "7.0"
-Obsoletes: php70u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "7.1"
-Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "7.2"
-Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "7.3"
-Obsoletes: php73-pecl-%{pecl_name} <= %{version}
-Obsoletes: php73w-pecl-%{pecl_name} <= %{version}
-%endif
+%else
+BuildRequires: (oracle-instantclient-devel >= %{oraclever} with oracle-instantclient-devel < %{oraclemax})
%endif
-%if 0%{?fedora} < 20 && 0%{?rhel} < 7
-# Filter private shared object
-%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
-%{?filter_setup}
+%if "%{php_version}" > "8.4"
+Obsoletes: %{?scl_prefix}php-%{pecl_name} < 8.4
+%else
+Conflicts: %{?scl_prefix}php-%{pecl_name} < 8.4
%endif
+Provides: %{?scl_prefix}php-%{pecl_name} = 1:%{version}
+Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = 1:%{version}
+Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
+Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
%description
@@ -95,31 +74,23 @@ The extension is linked with Oracle client libraries %{oraclever}
(Oracle Instant Client). For details, see Oracle's note
"Oracle Client / Server Interoperability Support" (ID 207303.1).
-You must install libclntsh.so.%{oraclelib} to use this package, provided
-in the database installation, or in the free Oracle Instant Client
-available from Oracle.
-
-Notice:
-- %{?scl_prefix}php-oci8 provides oci8 and pdo_oci extensions from php sources.
-- %name only provides oci8 extension.
+You must install libclntsh.so.%{oraclelib} to use this package,
+provided by Oracle Instant Client RPM available from Oracle on:
+https://www.oracle.com/database/technologies/instant-client/downloads.html
-Documentation is at http://php.net/oci8
+Documentation is at https://php.net/oci8
Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}.
%prep
%setup -qc
-mv %{pecl_name}-%{version} NTS
-
# don't install tests
sed -e 's/role="test"/role="src"/' \
- %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \
+ -e '/LICENSE/s/role="doc"/role="src"/' \
-i package.xml
-cd NTS
-%patch0 -p0 -b .remi
-
+cd %{sources}
# Check reported version (phpinfo), as this is often broken
extver=$(sed -n '/#define PHP_OCI8_VERSION/{s/.* "//;s/".*$//;p}' php_oci8.h)
if test "x${extver}" != "x%{version}%{?versuffix}"; then
@@ -135,29 +106,29 @@ extension = %{pecl_name}.so
; Connection: Enables privileged connections using external
; credentials (OCI_SYSOPER, OCI_SYSDBA)
-; http://php.net/oci8.privileged-connect
+; https://php.net/oci8.privileged-connect
;oci8.privileged_connect = Off
; Connection: The maximum number of persistent OCI8 connections per
; process. Using -1 means no limit.
-; http://php.net/oci8.max-persistent
+; https://php.net/oci8.max-persistent
;oci8.max_persistent = -1
; Connection: The maximum number of seconds a process is allowed to
; maintain an idle persistent connection. Using -1 means idle
; persistent connections will be maintained forever.
-; http://php.net/oci8.persistent-timeout
+; https://php.net/oci8.persistent-timeout
;oci8.persistent_timeout = -1
; Connection: The number of seconds that must pass before issuing a
; ping during oci_pconnect() to check the connection validity. When
; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
; pings completely.
-; http://php.net/oci8.ping-interval
+; https://php.net/oci8.ping-interval
;oci8.ping_interval = 60
; Connection: Set this to a user chosen connection class to be used
-; for all pooled server requests with Oracle 11g Database Resident
+; for all pooled server requests with Oracle Database Resident
; Connection Pooling (DRCP). To use DRCP, this value should be set to
; the same string for all web servers running the same application,
; the database pool must be configured, and the connection string must
@@ -171,24 +142,30 @@ extension = %{pecl_name}.so
; Tuning: This option enables statement caching, and specifies how
; many statements to cache. Using 0 disables statement caching.
-; http://php.net/oci8.statement-cache-size
+; https://php.net/oci8.statement-cache-size
;oci8.statement_cache_size = 20
-; Tuning: Enables statement prefetching and sets the default number of
+; Tuning: Enables row prefetching and sets the default number of
; rows that will be fetched automatically after statement execution.
-; http://php.net/oci8.default-prefetch
+; https://php.net/oci8.default-prefetch
;oci8.default_prefetch = 100
+; Tuning: Sets the amount of LOB data that is internally returned from
+; Oracle Database when an Oracle LOB locator is initially retrieved as
+; part of a query. Setting this can improve performance by reducing
+; round-trips.
+; https://php.net/oci8.prefetch-lob-size
+; oci8.prefetch_lob_size = 0
+
; Compatibility. Using On means oci_close() will not close
; oci_connect() and oci_new_connect() connections.
-; http://php.net/oci8.old-oci-close-semantics
+; https://php.net/oci8.old-oci-close-semantics
;oci8.old_oci_close_semantics = Off
EOF
-
+mkdir NTS
%if %{with_zts}
-# duplicate for ZTS build
-cp -pr NTS ZTS
+mkdir ZTS
%endif
@@ -201,23 +178,20 @@ export PHP_DTRACE=yes
peclconf() {
%configure \
-%ifarch x86_64
- --with-oci8=shared,instantclient,%{_root_libdir}/oracle/%{oraclever}/client64/lib,%{oraclever} \
-%else
- --with-oci8=shared,instantclient,%{_root_libdir}/oracle/%{oraclever}/client/lib,%{oraclever} \
-%endif
+ --with-oci8=shared,instantclient,%{_root_prefix}/lib/oracle/%{oracledir}/client64/lib,%{oraclever} \
--with-php-config=$1
}
-cd NTS
-%{_bindir}/phpize
-peclconf %{_bindir}/php-config
+cd %{sources}
+%{__phpize}
+
+cd ../NTS
+peclconf %{__phpconfig}
make %{?_smp_mflags}
%if %{with_zts}
cd ../ZTS
-%{_bindir}/zts-phpize
-peclconf %{_bindir}/zts-php-config
+peclconf %{__ztsphpconfig}
make %{?_smp_mflags}
%endif
@@ -240,65 +214,26 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
# Documentation
for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//')
-do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
+do install -Dpm 644 %{sources}/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
done
%check
-cd NTS
-
: Minimal load test for NTS extension
-%{_bindir}/php --no-php-ini \
+%{__php} --no-php-ini \
--define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
- --modules | grep %{pecl_name}
-
-%if %{with_tests}
-exprt NO_INTERACTION=1
-: Upstream test suite for NTS extension
-make test
-%else
-: Upstream test suite disabled
-%endif
+ --modules | grep '^%{pecl_name}$'
%if %{with_zts}
-cd ../ZTS
-
: Minimal load test for ZTS extension
%{__ztsphp} --no-php-ini \
--define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
- --modules | grep %{pecl_name}
-
-%if %{with_tests}
-: Upstream test suite for ZTS extension
-make test
-%else
-: Upstream test suite disabled
-%endif
-%endif
-
-
-%if 0%{?fedora} < 24 && 0%{?rhel} < 8
-# when pear installed alone, after us
-%triggerin -- %{?scl_prefix}php-pear
-if [ -x %{__pecl} ] ; then
- %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || :
-fi
-
-# posttrans as pear can be installed after us
-%posttrans
-if [ -x %{__pecl} ] ; then
- %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || :
-fi
-
-%postun
-if [ $1 -eq 0 -a -x %{__pecl} ] ; then
- %{pecl_uninstall} %{pecl_name} >/dev/null || :
-fi
+ --modules | grep '^%{pecl_name}$'
%endif
%files
-%{?_licensedir:%license NTS/LICENSE}
+%license %{sources}/LICENSE
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml
@@ -312,6 +247,11 @@ fi
%changelog
+* Thu Jul 25 2024 Remi Collet <remi@remirepo.net> - 3.4.0-1
+- update to 3.4.0
+- use oracle client library version 23.4 on x86_64, 19.23 on aarch64
+- build out of sources tree
+
* Thu Feb 20 2020 Remi Collet <remi@remirepo.net> - 2.2.0-3
- use oracle client library version 19.5