]> granicus.if.org Git - php/commitdiff
OCI8 classes were already renamed in 8; this now follows the new-new standard
authorChristopher Jones <christopher.jones@oracle.com>
Fri, 21 Aug 2020 07:46:16 +0000 (17:46 +1000)
committerChristopher Jones <christopher.jones@oracle.com>
Fri, 21 Aug 2020 07:46:16 +0000 (17:46 +1000)
46 files changed:
UPGRADING
ext/oci8/oci8.c
ext/oci8/oci8.stub.php
ext/oci8/oci8_arginfo.h
ext/oci8/package.xml
ext/oci8/tests/bug35973.phpt
ext/oci8/tests/bug44008.phpt
ext/oci8/tests/coll_001.phpt
ext/oci8/tests/coll_002.phpt
ext/oci8/tests/coll_002_func.phpt
ext/oci8/tests/coll_003.phpt
ext/oci8/tests/coll_009.phpt
ext/oci8/tests/coll_016.phpt
ext/oci8/tests/coll_019.phpt
ext/oci8/tests/define3.phpt
ext/oci8/tests/descriptors.phpt
ext/oci8/tests/fetch_object_2.phpt
ext/oci8/tests/lob_001.phpt
ext/oci8/tests/lob_002.phpt
ext/oci8/tests/lob_003.phpt
ext/oci8/tests/lob_004.phpt
ext/oci8/tests/lob_005.phpt
ext/oci8/tests/lob_006.phpt
ext/oci8/tests/lob_007.phpt
ext/oci8/tests/lob_008.phpt
ext/oci8/tests/lob_009.phpt
ext/oci8/tests/lob_016.phpt
ext/oci8/tests/lob_017.phpt
ext/oci8/tests/lob_019.phpt
ext/oci8/tests/lob_020.phpt
ext/oci8/tests/lob_021.phpt
ext/oci8/tests/lob_022.phpt
ext/oci8/tests/lob_023.phpt
ext/oci8/tests/lob_024.phpt
ext/oci8/tests/lob_025.phpt
ext/oci8/tests/lob_026.phpt
ext/oci8/tests/lob_027.phpt
ext/oci8/tests/lob_028.phpt
ext/oci8/tests/lob_032.phpt
ext/oci8/tests/lob_033.phpt
ext/oci8/tests/lob_034.phpt
ext/oci8/tests/lob_038.phpt
ext/oci8/tests/lob_041.phpt
ext/oci8/tests/lob_042.phpt
ext/oci8/tests/null_byte_1.phpt
ext/oci8/tests/xmltype_02.phpt

index 54993d77a9713d791bb32cbcc6f2323838381dc4..9cb89cf9695f5a23b0e2a07732dde6657151c278 100644 (file)
--- a/UPGRADING
+++ b/UPGRADING
@@ -381,6 +381,9 @@ PHP 8.0 UPGRADE NOTES
     removed.
 
 - OCI8:
+  . The OCI-Lob class is now called OCILob, and the OCI-Collection class is now
+    called OCICollection for name compliance enforced by PHP 8 arginfo
+    type annotation tooling.
   . Several alias functions have been marked as deprecated.
   . oci_internal_debug() and its alias ociinternaldebug() have been removed.
 
index 06ea6adcc797d290a03f96186b2a87f1138f9061..b83ec33f0404db3810c9d5f87d1a077d05aaf710 100644 (file)
@@ -291,8 +291,8 @@ PHP_MINIT_FUNCTION(oci)
        le_descriptor = zend_register_list_destructors_ex(php_oci_descriptor_list_dtor, NULL, "oci8 descriptor", module_number);
        le_collection = zend_register_list_destructors_ex(php_oci_collection_list_dtor, NULL, "oci8 collection", module_number);
 
-       INIT_CLASS_ENTRY(oci_lob_class_entry, "OCI_Lob", class_OCI_Lob_methods);
-       INIT_CLASS_ENTRY(oci_coll_class_entry, "OCI_Collection", class_OCI_Collection_methods);
+       INIT_CLASS_ENTRY(oci_lob_class_entry, "OCILob", class_OCILob_methods);
+       INIT_CLASS_ENTRY(oci_coll_class_entry, "OCICollection", class_OCICollection_methods);
 
        oci_lob_class_entry_ptr = zend_register_internal_class(&oci_lob_class_entry);
        oci_coll_class_entry_ptr = zend_register_internal_class(&oci_coll_class_entry);
index d53caed69b34862dc7bbbe1f7701eadb832b6a1e..f73226bb53b1d702ca1766e4acfddd7f027e3549 100644 (file)
@@ -36,87 +36,87 @@ function ocibindbyname($statement_resource, string $column_name, &$variable, int
  */
 function oci_bind_array_by_name($statement_resource, string $column_name, &$variable, int $maximum_array_length, int $maximum_item_length = -1, int $type = SQLT_AFC): bool {}
 
-function oci_free_descriptor(OCI_Lob $lob_descriptor): bool {}
+function oci_free_descriptor(OCILob $lob_descriptor): bool {}
 
 /**
  * @alias oci_free_descriptor
  * @deprecated
  */
-function ocifreedesc(OCI_Lob $lob_descriptor): bool {}
+function ocifreedesc(OCILob $lob_descriptor): bool {}
 
-function oci_lob_save(OCI_Lob $lob_descriptor, string $data, int $offset = 0): bool {}
+function oci_lob_save(OCILob $lob_descriptor, string $data, int $offset = 0): bool {}
 
 /**
  * @alias oci_lob_save
  * @deprecated
  */
-function ocisavelob(OCI_Lob $lob_descriptor, string $data, int $offset = 0): bool {}
+function ocisavelob(OCILob $lob_descriptor, string $data, int $offset = 0): bool {}
 
-function oci_lob_import(OCI_Lob $lob_descriptor, string $filename): bool {}
+function oci_lob_import(OCILob $lob_descriptor, string $filename): bool {}
 
 /**
  * @alias oci_lob_import
  * @deprecated
  */
-function ocisavelobfile(OCI_Lob $lob_descriptor, string $filename): bool {}
+function ocisavelobfile(OCILob $lob_descriptor, string $filename): bool {}
 
-function oci_lob_load(OCI_Lob $lob_descriptor): string|false {}
+function oci_lob_load(OCILob $lob_descriptor): string|false {}
 
 /**
  * @alias oci_lob_load
  * @deprecated
  */
-function ociloadlob(OCI_Lob $lob_descriptor): string|false {}
+function ociloadlob(OCILob $lob_descriptor): string|false {}
 
-function oci_lob_read(OCI_Lob $lob_descriptor, int $length): string|false {}
+function oci_lob_read(OCILob $lob_descriptor, int $length): string|false {}
 
-function oci_lob_eof(OCI_Lob $lob_descriptor): bool {}
+function oci_lob_eof(OCILob $lob_descriptor): bool {}
 
-function oci_lob_tell(OCI_Lob $lob_descriptor): int|false {}
+function oci_lob_tell(OCILob $lob_descriptor): int|false {}
 
-function oci_lob_rewind(OCI_Lob $lob_descriptor): bool {}
+function oci_lob_rewind(OCILob $lob_descriptor): bool {}
 
-function oci_lob_seek(OCI_Lob $lob_descriptor, int $offset, int $whence = OCI_SEEK_SET): bool {}
+function oci_lob_seek(OCILob $lob_descriptor, int $offset, int $whence = OCI_SEEK_SET): bool {}
 
-function oci_lob_size(OCI_Lob $lob_descriptor): int|false {}
+function oci_lob_size(OCILob $lob_descriptor): int|false {}
 
-function oci_lob_write(OCI_Lob $lob_descriptor, string $string, int $length = UNKNOWN): int|false {}
+function oci_lob_write(OCILob $lob_descriptor, string $string, int $length = UNKNOWN): int|false {}
 
-function oci_lob_append(OCI_Lob $lob_descriptor_to, OCI_Lob $lob_descriptor_from): bool {}
+function oci_lob_append(OCILob $lob_descriptor_to, OCILob $lob_descriptor_from): bool {}
 
-function oci_lob_truncate(OCI_Lob $lob_descriptor, int $length = 0): bool {}
+function oci_lob_truncate(OCILob $lob_descriptor, int $length = 0): bool {}
 
-function oci_lob_erase(OCI_Lob $lob_descriptor, int $offset = UNKNOWN, int $length = UNKNOWN): int|false {}
+function oci_lob_erase(OCILob $lob_descriptor, int $offset = UNKNOWN, int $length = UNKNOWN): int|false {}
 
-function oci_lob_flush(OCI_Lob $lob_descriptor, int $flag = 0): bool {}
+function oci_lob_flush(OCILob $lob_descriptor, int $flag = 0): bool {}
 
-function ocisetbufferinglob(OCI_Lob $lob_descriptor, bool $mode): bool {}
+function ocisetbufferinglob(OCILob $lob_descriptor, bool $mode): bool {}
 
-function ocigetbufferinglob(OCI_Lob $lob_descriptor): bool {}
+function ocigetbufferinglob(OCILob $lob_descriptor): bool {}
 
-function oci_lob_copy(OCI_Lob $lob_descriptor_to, OCI_Lob $lob_descriptor_from, int $length = UNKNOWN): bool {}
+function oci_lob_copy(OCILob $lob_descriptor_to, OCILob $lob_descriptor_from, int $length = UNKNOWN): bool {}
 
-function oci_lob_is_equal(OCI_Lob $lob_descriptor_first, OCI_Lob $lob_descriptor_second): bool {}
+function oci_lob_is_equal(OCILob $lob_descriptor_first, OCILob $lob_descriptor_second): bool {}
 
-function oci_lob_export(OCI_Lob $lob_descriptor, string $path, int $start = UNKNOWN, int $length = UNKNOWN): bool {}
+function oci_lob_export(OCILob $lob_descriptor, string $path, int $start = UNKNOWN, int $length = UNKNOWN): bool {}
 
 /**
  * @alias oci_lob_export
  * @deprecated
  */
-function ociwritelobtofile(OCI_Lob $lob_descriptor, string $path, int $start = UNKNOWN, int $length = UNKNOWN): bool {}
+function ociwritelobtofile(OCILob $lob_descriptor, string $path, int $start = UNKNOWN, int $length = UNKNOWN): bool {}
 
 /**
  * @param resource $connection_resource
  */
-function oci_new_descriptor($connection_resource, int $type = OCI_DTYPE_LOB): ?OCI_Lob {}
+function oci_new_descriptor($connection_resource, int $type = OCI_DTYPE_LOB): ?OCILob {}
 
 /**
  * @param resource $connection_resource
  * @alias oci_new_descriptor
  * @deprecated
  */
-function ocinewdescriptor($connection_resource, int $type = OCI_DTYPE_LOB): ?OCI_Lob {}
+function ocinewdescriptor($connection_resource, int $type = OCI_DTYPE_LOB): ?OCILob {}
 
 /**
  * @param resource $connection_resource
@@ -542,75 +542,75 @@ function oci_num_rows($statement_resource): int|false {}
  */
 function ocirowcount($statement_resource): int|false {}
 
-function oci_free_collection(OCI_Collection $collection): bool {}
+function oci_free_collection(OCICollection $collection): bool {}
 
 /**
  * @alias oci_free_collection
  * @deprecated
  */
-function ocifreecollection(OCI_Collection $collection): bool {}
+function ocifreecollection(OCICollection $collection): bool {}
 
-function oci_collection_append(OCI_Collection $collection, string $value): bool {}
+function oci_collection_append(OCICollection $collection, string $value): bool {}
 
 /**
  * @alias oci_collection_append
  * @deprecated
  */
-function ocicollappend(OCI_Collection $collection, string $value): bool {}
+function ocicollappend(OCICollection $collection, string $value): bool {}
 
-function oci_collection_element_get(OCI_Collection $collection, int $index): string|float|null|false {}
+function oci_collection_element_get(OCICollection $collection, int $index): string|float|null|false {}
 
 /**
  * @alias oci_collection_element_get
  * @deprecated
  */
-function ocicollgetelem(OCI_Collection $collection, int $index): string|float|null|false {}
+function ocicollgetelem(OCICollection $collection, int $index): string|float|null|false {}
 
-function oci_collection_assign(OCI_Collection $collection_to, OCI_Collection $collection_from): bool {}
+function oci_collection_assign(OCICollection $collection_to, OCICollection $collection_from): bool {}
 
-function oci_collection_element_assign(OCI_Collection $collection, int $index, string $value): bool {}
+function oci_collection_element_assign(OCICollection $collection, int $index, string $value): bool {}
 
 /**
  * @alias oci_collection_element_assign
  * @deprecated
  */
-function ocicollassignelem(OCI_Collection $collection, int $index, string $value): bool {}
+function ocicollassignelem(OCICollection $collection, int $index, string $value): bool {}
 
-function oci_collection_size(OCI_Collection $collection): int|false {}
+function oci_collection_size(OCICollection $collection): int|false {}
 
 /**
  * @alias oci_collection_size
  * @deprecated
  */
-function ocicollsize(OCI_Collection $collection): int|false {}
+function ocicollsize(OCICollection $collection): int|false {}
 
-function oci_collection_max(OCI_Collection $collection): int|false {}
+function oci_collection_max(OCICollection $collection): int|false {}
 
 /**
  * @alias oci_collection_max
  * @deprecated
  */
-function ocicollmax(OCI_Collection $collection): int|false {}
+function ocicollmax(OCICollection $collection): int|false {}
 
-function oci_collection_trim(OCI_Collection $collection, int $number): bool {}
+function oci_collection_trim(OCICollection $collection, int $number): bool {}
 
 /**
  * @alias oci_collection_trim
  * @deprecated
  */
-function ocicolltrim(OCI_Collection $collection, int $number): bool {}
+function ocicolltrim(OCICollection $collection, int $number): bool {}
 
 /**
  * @param resource $connection_resource
  */
-function oci_new_collection($connection_resource, string $type_name, string $schema_name = UNKNOWN): OCI_Collection|false {}
+function oci_new_collection($connection_resource, string $type_name, string $schema_name = UNKNOWN): OCICollection|false {}
 
 /**
  * @param resource $connection_resource
  * @alias oci_new_collection
  * @deprecated
  */
-function ocinewcollection($connection_resource, string $type_name, string $schema_name = UNKNOWN): OCI_Collection|false {}
+function ocinewcollection($connection_resource, string $type_name, string $schema_name = UNKNOWN): OCICollection|false {}
 
 /**
  * @param resource $connection_resource
@@ -622,7 +622,7 @@ function oci_register_taf_callback($connection_resource, ?callable $function_nam
  */
 function oci_unregister_taf_callback($connection_resource): bool {}
 
-class OCI_Lob {
+class OCILob {
     /**
      * @alias oci_lob_save
      * @return bool
@@ -693,7 +693,7 @@ class OCI_Lob {
      * @alias oci_lob_append
      * @return bool
      */
-    public function append(OCI_Lob $lob_descriptor_from) {}
+    public function append(OCILob $lob_descriptor_from) {}
 
     /**
      * @alias oci_lob_truncate
@@ -756,7 +756,7 @@ class OCI_Lob {
     public function free() {}
 }
 
-class OCI_Collection {
+class OCICollection {
     /**
      * @alias oci_free_collection
      * @return bool
@@ -779,7 +779,7 @@ class OCI_Collection {
      * @alias oci_collection_assign
      * @return bool
      */
-    public function assign(OCI_Collection $collection_from) {}
+    public function assign(OCICollection $collection_from) {}
 
     /**
      * @alias oci_collection_element_assign
index c82656f205bc3ea0cddf940fc5563426b8a7032f..4ebacd5260fbe2a7540f9f3ac119dd45ed36b115 100644 (file)
@@ -1,5 +1,5 @@
 /* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 4a4e86dc175542bbf0bc29c9a957c5dfec834f93 */
+ * Stub hash: 1c1a73f6a4de5fa2ca9595125822d65bc4f5fc55 */
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_define_by_name, 0, 3, _IS_BOOL, 0)
        ZEND_ARG_INFO(0, statement_resource)
@@ -30,13 +30,13 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_bind_array_by_name, 0, 4, _I
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_free_descriptor, 0, 1, _IS_BOOL, 0)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCI_Lob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCILob, 0)
 ZEND_END_ARG_INFO()
 
 #define arginfo_ocifreedesc arginfo_oci_free_descriptor
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_save, 0, 2, _IS_BOOL, 0)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCI_Lob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCILob, 0)
        ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
 ZEND_END_ARG_INFO()
@@ -44,33 +44,33 @@ ZEND_END_ARG_INFO()
 #define arginfo_ocisavelob arginfo_oci_lob_save
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_import, 0, 2, _IS_BOOL, 0)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCI_Lob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCILob, 0)
        ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
 ZEND_END_ARG_INFO()
 
 #define arginfo_ocisavelobfile arginfo_oci_lob_import
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_lob_load, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCI_Lob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCILob, 0)
 ZEND_END_ARG_INFO()
 
 #define arginfo_ociloadlob arginfo_oci_lob_load
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_lob_read, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCI_Lob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCILob, 0)
        ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
 #define arginfo_oci_lob_eof arginfo_oci_free_descriptor
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_lob_tell, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCI_Lob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCILob, 0)
 ZEND_END_ARG_INFO()
 
 #define arginfo_oci_lob_rewind arginfo_oci_free_descriptor
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_seek, 0, 2, _IS_BOOL, 0)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCI_Lob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCILob, 0)
        ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, whence, IS_LONG, 0, "OCI_SEEK_SET")
 ZEND_END_ARG_INFO()
@@ -78,52 +78,52 @@ ZEND_END_ARG_INFO()
 #define arginfo_oci_lob_size arginfo_oci_lob_tell
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_lob_write, 0, 2, MAY_BE_LONG|MAY_BE_FALSE)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCI_Lob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCILob, 0)
        ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
        ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_append, 0, 2, _IS_BOOL, 0)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor_to, OCI_Lob, 0)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor_from, OCI_Lob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor_to, OCILob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor_from, OCILob, 0)
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_truncate, 0, 1, _IS_BOOL, 0)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCI_Lob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCILob, 0)
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "0")
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_lob_erase, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCI_Lob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCILob, 0)
        ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_flush, 0, 1, _IS_BOOL, 0)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCI_Lob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCILob, 0)
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flag, IS_LONG, 0, "0")
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ocisetbufferinglob, 0, 2, _IS_BOOL, 0)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCI_Lob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCILob, 0)
        ZEND_ARG_TYPE_INFO(0, mode, _IS_BOOL, 0)
 ZEND_END_ARG_INFO()
 
 #define arginfo_ocigetbufferinglob arginfo_oci_free_descriptor
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_copy, 0, 2, _IS_BOOL, 0)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor_to, OCI_Lob, 0)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor_from, OCI_Lob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor_to, OCILob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor_from, OCILob, 0)
        ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_is_equal, 0, 2, _IS_BOOL, 0)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor_first, OCI_Lob, 0)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor_second, OCI_Lob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor_first, OCILob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor_second, OCILob, 0)
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_export, 0, 2, _IS_BOOL, 0)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCI_Lob, 0)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor, OCILob, 0)
        ZEND_ARG_TYPE_INFO(0, path, IS_STRING, 0)
        ZEND_ARG_TYPE_INFO(0, start, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
@@ -131,7 +131,7 @@ ZEND_END_ARG_INFO()
 
 #define arginfo_ociwritelobtofile arginfo_oci_lob_export
 
-ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_oci_new_descriptor, 0, 1, OCI_Lob, 1)
+ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_oci_new_descriptor, 0, 1, OCILob, 1)
        ZEND_ARG_INFO(0, connection_resource)
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "OCI_DTYPE_LOB")
 ZEND_END_ARG_INFO()
@@ -374,32 +374,32 @@ ZEND_END_ARG_INFO()
 #define arginfo_ocirowcount arginfo_oci_num_rows
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_free_collection, 0, 1, _IS_BOOL, 0)
-       ZEND_ARG_OBJ_INFO(0, collection, OCI_Collection, 0)
+       ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0)
 ZEND_END_ARG_INFO()
 
 #define arginfo_ocifreecollection arginfo_oci_free_collection
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_collection_append, 0, 2, _IS_BOOL, 0)
-       ZEND_ARG_OBJ_INFO(0, collection, OCI_Collection, 0)
+       ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0)
        ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
 ZEND_END_ARG_INFO()
 
 #define arginfo_ocicollappend arginfo_oci_collection_append
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_collection_element_get, 0, 2, MAY_BE_STRING|MAY_BE_DOUBLE|MAY_BE_NULL|MAY_BE_FALSE)
-       ZEND_ARG_OBJ_INFO(0, collection, OCI_Collection, 0)
+       ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0)
        ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
 #define arginfo_ocicollgetelem arginfo_oci_collection_element_get
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_collection_assign, 0, 2, _IS_BOOL, 0)
-       ZEND_ARG_OBJ_INFO(0, collection_to, OCI_Collection, 0)
-       ZEND_ARG_OBJ_INFO(0, collection_from, OCI_Collection, 0)
+       ZEND_ARG_OBJ_INFO(0, collection_to, OCICollection, 0)
+       ZEND_ARG_OBJ_INFO(0, collection_from, OCICollection, 0)
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_collection_element_assign, 0, 3, _IS_BOOL, 0)
-       ZEND_ARG_OBJ_INFO(0, collection, OCI_Collection, 0)
+       ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0)
        ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
 ZEND_END_ARG_INFO()
@@ -407,7 +407,7 @@ ZEND_END_ARG_INFO()
 #define arginfo_ocicollassignelem arginfo_oci_collection_element_assign
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_collection_size, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
-       ZEND_ARG_OBJ_INFO(0, collection, OCI_Collection, 0)
+       ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0)
 ZEND_END_ARG_INFO()
 
 #define arginfo_ocicollsize arginfo_oci_collection_size
@@ -417,13 +417,13 @@ ZEND_END_ARG_INFO()
 #define arginfo_ocicollmax arginfo_oci_collection_size
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_collection_trim, 0, 2, _IS_BOOL, 0)
-       ZEND_ARG_OBJ_INFO(0, collection, OCI_Collection, 0)
+       ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0)
        ZEND_ARG_TYPE_INFO(0, number, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
 #define arginfo_ocicolltrim arginfo_oci_collection_trim
 
-ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_oci_new_collection, 0, 2, OCI_Collection, MAY_BE_FALSE)
+ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_oci_new_collection, 0, 2, OCICollection, MAY_BE_FALSE)
        ZEND_ARG_INFO(0, connection_resource)
        ZEND_ARG_TYPE_INFO(0, type_name, IS_STRING, 0)
        ZEND_ARG_TYPE_INFO(0, schema_name, IS_STRING, 0)
@@ -438,106 +438,106 @@ ZEND_END_ARG_INFO()
 
 #define arginfo_oci_unregister_taf_callback arginfo_oci_rollback
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Lob_save, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_save, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Lob_import, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_import, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
 ZEND_END_ARG_INFO()
 
-#define arginfo_class_OCI_Lob_savefile arginfo_class_OCI_Lob_import
+#define arginfo_class_OCILob_savefile arginfo_class_OCILob_import
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Lob_load, 0, 0, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_load, 0, 0, 0)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Lob_read, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_read, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
-#define arginfo_class_OCI_Lob_eof arginfo_class_OCI_Lob_load
+#define arginfo_class_OCILob_eof arginfo_class_OCILob_load
 
-#define arginfo_class_OCI_Lob_tell arginfo_class_OCI_Lob_load
+#define arginfo_class_OCILob_tell arginfo_class_OCILob_load
 
-#define arginfo_class_OCI_Lob_rewind arginfo_class_OCI_Lob_load
+#define arginfo_class_OCILob_rewind arginfo_class_OCILob_load
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Lob_seek, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_seek, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, whence, IS_LONG, 0, "OCI_SEEK_SET")
 ZEND_END_ARG_INFO()
 
-#define arginfo_class_OCI_Lob_size arginfo_class_OCI_Lob_load
+#define arginfo_class_OCILob_size arginfo_class_OCILob_load
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Lob_write, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_write, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
        ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Lob_append, 0, 0, 1)
-       ZEND_ARG_OBJ_INFO(0, lob_descriptor_from, OCI_Lob, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_append, 0, 0, 1)
+       ZEND_ARG_OBJ_INFO(0, lob_descriptor_from, OCILob, 0)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Lob_truncate, 0, 0, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_truncate, 0, 0, 0)
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "0")
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Lob_erase, 0, 0, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_erase, 0, 0, 0)
        ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_OCI_Lob_flush, 0, 0, _IS_BOOL, 0)
+ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_OCILob_flush, 0, 0, _IS_BOOL, 0)
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flag, IS_LONG, 0, "0")
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Lob_setbuffering, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_setbuffering, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, mode, _IS_BOOL, 0)
 ZEND_END_ARG_INFO()
 
-#define arginfo_class_OCI_Lob_getbuffering arginfo_class_OCI_Lob_load
+#define arginfo_class_OCILob_getbuffering arginfo_class_OCILob_load
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Lob_writetofile, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_writetofile, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, path, IS_STRING, 0)
        ZEND_ARG_TYPE_INFO(0, start, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
-#define arginfo_class_OCI_Lob_export arginfo_class_OCI_Lob_writetofile
+#define arginfo_class_OCILob_export arginfo_class_OCILob_writetofile
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Lob_writetemporary, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCILob_writetemporary, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "OCI_TEMP_CLOB")
 ZEND_END_ARG_INFO()
 
-#define arginfo_class_OCI_Lob_close arginfo_class_OCI_Lob_load
+#define arginfo_class_OCILob_close arginfo_class_OCILob_load
 
-#define arginfo_class_OCI_Lob_free arginfo_class_OCI_Lob_load
+#define arginfo_class_OCILob_free arginfo_class_OCILob_load
 
-#define arginfo_class_OCI_Collection_free arginfo_class_OCI_Lob_load
+#define arginfo_class_OCICollection_free arginfo_class_OCILob_load
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Collection_append, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCICollection_append, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Collection_getElem, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCICollection_getElem, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Collection_assign, 0, 0, 1)
-       ZEND_ARG_OBJ_INFO(0, collection_from, OCI_Collection, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCICollection_assign, 0, 0, 1)
+       ZEND_ARG_OBJ_INFO(0, collection_from, OCICollection, 0)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Collection_assignelem, 0, 0, 2)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCICollection_assignelem, 0, 0, 2)
        ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
        ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
 ZEND_END_ARG_INFO()
 
-#define arginfo_class_OCI_Collection_size arginfo_class_OCI_Lob_load
+#define arginfo_class_OCICollection_size arginfo_class_OCILob_load
 
-#define arginfo_class_OCI_Collection_max arginfo_class_OCI_Lob_load
+#define arginfo_class_OCICollection_max arginfo_class_OCILob_load
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCI_Collection_trim, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_OCICollection_trim, 0, 0, 1)
        ZEND_ARG_TYPE_INFO(0, number, IS_LONG, 0)
 ZEND_END_ARG_INFO()
 
@@ -751,41 +751,41 @@ static const zend_function_entry ext_functions[] = {
 };
 
 
-static const zend_function_entry class_OCI_Lob_methods[] = {
-       ZEND_ME_MAPPING(save, oci_lob_save, arginfo_class_OCI_Lob_save, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(import, oci_lob_import, arginfo_class_OCI_Lob_import, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(savefile, oci_lob_import, arginfo_class_OCI_Lob_savefile, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(load, oci_lob_load, arginfo_class_OCI_Lob_load, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(read, oci_lob_read, arginfo_class_OCI_Lob_read, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(eof, oci_lob_eof, arginfo_class_OCI_Lob_eof, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(tell, oci_lob_tell, arginfo_class_OCI_Lob_tell, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(rewind, oci_lob_rewind, arginfo_class_OCI_Lob_rewind, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(seek, oci_lob_seek, arginfo_class_OCI_Lob_seek, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(size, oci_lob_size, arginfo_class_OCI_Lob_size, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(write, oci_lob_write, arginfo_class_OCI_Lob_write, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(append, oci_lob_append, arginfo_class_OCI_Lob_append, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(truncate, oci_lob_truncate, arginfo_class_OCI_Lob_truncate, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(erase, oci_lob_erase, arginfo_class_OCI_Lob_erase, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(flush, oci_lob_flush, arginfo_class_OCI_Lob_flush, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(setbuffering, ocisetbufferinglob, arginfo_class_OCI_Lob_setbuffering, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(getbuffering, ocigetbufferinglob, arginfo_class_OCI_Lob_getbuffering, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(writetofile, oci_lob_export, arginfo_class_OCI_Lob_writetofile, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(export, oci_lob_export, arginfo_class_OCI_Lob_export, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(writetemporary, oci_lob_write_temporary, arginfo_class_OCI_Lob_writetemporary, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(close, oci_lob_close, arginfo_class_OCI_Lob_close, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(free, oci_free_descriptor, arginfo_class_OCI_Lob_free, ZEND_ACC_PUBLIC)
+static const zend_function_entry class_OCILob_methods[] = {
+       ZEND_ME_MAPPING(save, oci_lob_save, arginfo_class_OCILob_save, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(import, oci_lob_import, arginfo_class_OCILob_import, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(savefile, oci_lob_import, arginfo_class_OCILob_savefile, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(load, oci_lob_load, arginfo_class_OCILob_load, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(read, oci_lob_read, arginfo_class_OCILob_read, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(eof, oci_lob_eof, arginfo_class_OCILob_eof, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(tell, oci_lob_tell, arginfo_class_OCILob_tell, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(rewind, oci_lob_rewind, arginfo_class_OCILob_rewind, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(seek, oci_lob_seek, arginfo_class_OCILob_seek, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(size, oci_lob_size, arginfo_class_OCILob_size, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(write, oci_lob_write, arginfo_class_OCILob_write, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(append, oci_lob_append, arginfo_class_OCILob_append, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(truncate, oci_lob_truncate, arginfo_class_OCILob_truncate, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(erase, oci_lob_erase, arginfo_class_OCILob_erase, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(flush, oci_lob_flush, arginfo_class_OCILob_flush, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(setbuffering, ocisetbufferinglob, arginfo_class_OCILob_setbuffering, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(getbuffering, ocigetbufferinglob, arginfo_class_OCILob_getbuffering, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(writetofile, oci_lob_export, arginfo_class_OCILob_writetofile, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(export, oci_lob_export, arginfo_class_OCILob_export, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(writetemporary, oci_lob_write_temporary, arginfo_class_OCILob_writetemporary, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(close, oci_lob_close, arginfo_class_OCILob_close, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(free, oci_free_descriptor, arginfo_class_OCILob_free, ZEND_ACC_PUBLIC)
        ZEND_FE_END
 };
 
 
-static const zend_function_entry class_OCI_Collection_methods[] = {
-       ZEND_ME_MAPPING(free, oci_free_collection, arginfo_class_OCI_Collection_free, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(append, oci_collection_append, arginfo_class_OCI_Collection_append, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(getElem, oci_collection_element_get, arginfo_class_OCI_Collection_getElem, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(assign, oci_collection_assign, arginfo_class_OCI_Collection_assign, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(assignelem, oci_collection_element_assign, arginfo_class_OCI_Collection_assignelem, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(size, oci_collection_size, arginfo_class_OCI_Collection_size, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(max, oci_collection_max, arginfo_class_OCI_Collection_max, ZEND_ACC_PUBLIC)
-       ZEND_ME_MAPPING(trim, oci_collection_trim, arginfo_class_OCI_Collection_trim, ZEND_ACC_PUBLIC)
+static const zend_function_entry class_OCICollection_methods[] = {
+       ZEND_ME_MAPPING(free, oci_free_collection, arginfo_class_OCICollection_free, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(append, oci_collection_append, arginfo_class_OCICollection_append, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(getElem, oci_collection_element_get, arginfo_class_OCICollection_getElem, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(assign, oci_collection_assign, arginfo_class_OCICollection_assign, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(assignelem, oci_collection_element_assign, arginfo_class_OCICollection_assignelem, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(size, oci_collection_size, arginfo_class_OCICollection_size, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(max, oci_collection_max, arginfo_class_OCICollection_max, ZEND_ACC_PUBLIC)
+       ZEND_ME_MAPPING(trim, oci_collection_trim, arginfo_class_OCICollection_trim, ZEND_ACC_PUBLIC)
        ZEND_FE_END
 };
index 930ccb25802fb128c806b1c14986144efad8b84c..eb6007dca9feb834f8080c6775bb504ceb4c4764 100644 (file)
@@ -72,9 +72,9 @@ Oracle's standard cross-version connectivity applies.  For example, PHP OCI8 lin
 
     Removed obsolete no-op function oci_internal_debug(). (Jens de Nies)
 
-    The OCI-Lob class is now called OCI_Lob.
+    The OCI-Lob class is now called OCILob for standards compliance.
 
-    The OCI-Collection calls is now called OCI_Collection.
+    The OCI-Collection class is now called OCICollection for standards compliance.
 
     Generate arginfo from function stubs. (Jens de Nies)
   </notes>
index 2eec32db837b8ed357fe97d4f2e25ac73c256fc3..53c43d41d5070acc30e83e3f6a361f86d475071c 100644 (file)
@@ -36,7 +36,7 @@ echo "Done\n";
 --EXPECTF--
 array(1) {
   ["NC"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
index d8120325cfcc2c3a177a13da6cee1d248c70a542..d3b9cafdd41a5f5202ecd6945f1a2a22a74981e0 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Bug #44008 (Incorrect usage of OCI_Lob->close crashes PHP)
+Bug #44008 (Incorrect usage of OCILob->close crashes PHP)
 --SKIPIF--
 <?php
 $target_dbs = array('oracledb' => true, 'timesten' => false);  // test runs on these DBs
@@ -30,7 +30,7 @@ $r = $textLob->load();
 echo "$r\n";
 
 // Incorrectly closing the lob doesn't cause a crash.
-// OCI-LOB->close() is documented for use only with OCI_Lob->writeTemporary()
+// OCI-LOB->close() is documented for use only with OCILob->writeTemporary()
 $textLob->close();
 
 // Cleanup
index fdf17f1647c1035abaf3fef0f37066dd9393007d..f4863013d51bc19c97cfd53633795c57d78c5185 100644 (file)
@@ -20,7 +20,7 @@ require __DIR__."/drop_type.inc";
 
 ?>
 --EXPECTF--
-object(OCI_Collection)#%d (1) {
+object(OCICollection)#%d (1) {
   ["collection"]=>
   resource(%d) of type (oci8 collection)
 }
index d466e8ee29e0fff832296be4ed184fc0e17e7934..2eabc209150b6522caf419033d4aed80343c2b9a 100644 (file)
@@ -28,12 +28,12 @@ require __DIR__."/drop_type.inc";
 
 ?>
 --EXPECTF--
-object(OCI_Collection)#%d (1) {
+object(OCICollection)#%d (1) {
   ["collection"]=>
   resource(%d) of type (oci8 collection)
 }
 bool(true)
-string(%d) "OCI_Collection::size(): supplied resource is not a valid oci8 collection resource"
+string(%d) "OCICollection::size(): supplied resource is not a valid oci8 collection resource"
 
 Warning: oci_new_collection(): OCI-22303: type ""."NONEXISTENT" not found in %s on line %d
 bool(false)
index 1cd6070d76934c40d0d9a83d486c14a535b63896..0e931ddd4d796d4677129da9dca82f374b141ebb 100644 (file)
@@ -27,7 +27,7 @@ require __DIR__."/drop_type.inc";
 
 ?>
 --EXPECTF--
-object(OCI_Collection)#%d (1) {
+object(OCICollection)#%d (1) {
   ["collection"]=>
   resource(%d) of type (oci8 collection)
 }
index 1d47681fe7d7e47a47241fba48a6211db05c6561..1608ee81fed05cfb552624fc52474d5ba33a2463 100644 (file)
@@ -29,7 +29,7 @@ require __DIR__."/drop_type.inc";
 int(0)
 int(0)
 
-Warning: OCI_Collection::trim(): OCI-22167: given trim size [3] must be less than or equal to [0] in %s on line %d
+Warning: OCICollection::trim(): OCI-22167: given trim size [3] must be less than or equal to [0] in %s on line %d
 bool(false)
 bool(true)
 float(1)
index c293a8d64ff9b940393f733f67267de2020fe313..6f00f6d9c56bddac91daed033dfa3616b4518719 100644 (file)
@@ -38,7 +38,7 @@ require __DIR__."/drop_type.inc";
 
 ?>
 --EXPECTF--
-Warning: OCI_Collection::append(): OCI-01861: literal does not match format string in %s on line %d
+Warning: OCICollection::append(): OCI-01861: literal does not match format string in %s on line %d
 bool(false)
 bool(true)
 bool(false)
index 5eab7d4d23fd566b9b91b061cbedc0af0b3ec91a..342af18f1019371d5e98fea380edecc154176b7f 100644 (file)
@@ -40,10 +40,10 @@ require __DIR__."/drop_type.inc";
 --EXPECTF--
 bool(true)
 
-Warning: OCI_Collection::assignelem(): OCI-22165: given index [%d] must be in the range of %s to [0] in %s on line %d
+Warning: OCICollection::assignelem(): OCI-22165: given index [%d] must be in the range of %s to [0] in %s on line %d
 bool(false)
 
-Warning: OCI_Collection::assignelem(): OCI-22165: given index [5000] must be in the range of %s to [0] in %s on line %d
+Warning: OCICollection::assignelem(): OCI-22165: given index [5000] must be in the range of %s to [0] in %s on line %d
 bool(false)
 bool(false)
 bool(false)
index 64b2bc31d68233ff0910bc9750f77e6f3d66d349..be79e98aab800c0cd817ba616db26b8247876cce 100644 (file)
@@ -75,33 +75,33 @@ echo "Done\n";
 --EXPECTF--
 Test 0
 
-Notice: OCI_Collection::append(): Unknown or unsupported type of element: 113 in %s on line %d
+Notice: OCICollection::append(): Unknown or unsupported type of element: 113 in %s on line %d
 bool(false)
 
-Notice: OCI_Collection::assignelem(): Unknown or unsupported type of element: 113 in %s on line %d
+Notice: OCICollection::assignelem(): Unknown or unsupported type of element: 113 in %s on line %d
 bool(false)
 bool(false)
 Test 1
 
-Warning: OCI_Collection::assignelem(): OCI-22165: given index [1] must be in the range of %s in %s on line %d
+Warning: OCICollection::assignelem(): OCI-22165: given index [1] must be in the range of %s in %s on line %d
 bool(false)
 bool(false)
 Test 2
 
-Warning: OCI_Collection::assignelem(): OCI-22165: given index [1] must be in the range of %s in %s on line %d
+Warning: OCICollection::assignelem(): OCI-22165: given index [1] must be in the range of %s in %s on line %d
 bool(false)
 bool(false)
 Test 3
 
-Warning: OCI_Collection::assignelem(): OCI-22165: given index [1] must be in the range of %s in %s on line %d
+Warning: OCICollection::assignelem(): OCI-22165: given index [1] must be in the range of %s in %s on line %d
 bool(false)
 bool(false)
 Test 4
 
-Warning: OCI_Collection::append(): OCI-01840: input value not long enough for date format in %s on line %d
+Warning: OCICollection::append(): OCI-01840: input value not long enough for date format in %s on line %d
 bool(false)
 
-Warning: OCI_Collection::assignelem(): OCI-22165: given index [1] must be in the range of %s in %s on line %d
+Warning: OCICollection::assignelem(): OCI-22165: given index [1] must be in the range of %s in %s on line %d
 bool(false)
 bool(false)
 Done
index 520748f3d8245047599777ccda67402d4393579a..69fb5a48c11f7f7ae6627f330145c593b50714ce 100644 (file)
@@ -89,12 +89,12 @@ string(32) "614fcbba1effb7caa27ef0ef25c27fcf"
 string(32) "06d4f219d946c74d748d43932cd9dcb2"
 Test 1
 bool(true)
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
 file md5:614fcbba1effb7caa27ef0ef25c27fcf
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
index 8a5b42e791e0c66a5a7bc1cb5ca29d64e4e62894..6b1e47d7a9f47f4b885f49f2609d961c5efc456d 100644 (file)
@@ -44,7 +44,7 @@ echo "Done\n";
 --EXPECTF--
 array(1) {
   ["BLOB"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
index 27f558e4b08e94d4cdcdf57f017460cd7a5b9db8..fcf80fd853364bf04c6db8b801a274814da5717d 100644 (file)
@@ -69,7 +69,7 @@ object(stdClass)#%d (3) {
   ["COL1"]=>
   string(3) "123"
   ["COL2"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
@@ -80,7 +80,7 @@ object(stdClass)#%d (3) {
   ["COL1"]=>
   string(3) "456"
   ["COL2"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
@@ -91,7 +91,7 @@ object(stdClass)#%d (3) {
   ["COL1"]=>
   string(3) "789"
   ["COL2"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
index 51e8c076732032120a0100e906b8832115733b5d..c94f5201e790ae173490f6d8ff86686860e455c9 100644 (file)
Binary files a/ext/oci8/tests/lob_001.phpt and b/ext/oci8/tests/lob_001.phpt differ
index 78b10f21e057b77fc78610418e5b574a4e6e0c3f..a4714caceaaae7dc62c884f3544aee09821bbd20 100644 (file)
@@ -52,7 +52,7 @@ oci8_test_sql_execute($c, $stmtarray);
 
 ?>
 --EXPECTF--
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
index fef078a26f589bc77bbabd00eb9853565314dffc..80bead5964bd291cbe7f9d8bb66d433ddb58daf4 100644 (file)
Binary files a/ext/oci8/tests/lob_003.phpt and b/ext/oci8/tests/lob_003.phpt differ
index 4ff1a8b65ec265a533731e32f2af43050a121d88..ead1bc0e2ac8bdaef2a3e00cd96805257238c261 100644 (file)
@@ -57,7 +57,7 @@ echo "Done\n";
 
 ?>
 --EXPECTF--
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
@@ -67,12 +67,12 @@ int(3)
 bool(true)
 array(2) {
   [0]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
   ["BLOB"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
index 317c8d5be9ff8891408408d1ca2f0cf77f2efe36..9e656bea7a23a3f01dd52179c23e0bab9493d4fe 100644 (file)
@@ -41,12 +41,12 @@ echo "Done\n";
 --EXPECTF--
 array(2) {
   [0]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
   ["BLOB"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
index 9f2c310fef5824710f5fe1d9cdbaf0a3b1699cc3..748283870a21bd07f29b1f4a1858f2732732acbf 100644 (file)
Binary files a/ext/oci8/tests/lob_006.phpt and b/ext/oci8/tests/lob_006.phpt differ
index fcf23472da6a6effd475a2ff652d3c455fb3c3a7..3a3137ae037020ff486b3f15e4ded8816ebcfaa3 100644 (file)
@@ -45,7 +45,7 @@ echo "Done\n";
 
 ?>
 --EXPECTF--
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
@@ -54,12 +54,12 @@ int(7000)
 int(7000)
 array(2) {
   [0]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
   ["BLOB"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
index 87257224b8fb83d619639505a6e53c2ee6608d69..15b300df86cf256f731f8fea94d3b0f5fbba089c 100644 (file)
@@ -47,19 +47,19 @@ echo "Done\n";
 
 ?>
 --EXPECTF--
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
 int(7000)
 array(2) {
   [0]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
   ["BLOB"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
index 872f94d4fa71d667d443a142d0b944cfdb07d04e..5e0d2afaab49db04409a4e8721ce3816d5ec1dd9 100644 (file)
@@ -44,7 +44,7 @@ echo "Done\n";
 
 ?>
 --EXPECTF--
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
@@ -52,12 +52,12 @@ bool(true)
 bool(true)
 array(2) {
   [0]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
   ["BLOB"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
index 757224e0a54dcd3d153be0d1d65b0ffadb19bf9b..24000f36f90d71f2e2f6529eb64d3a4fb8829507 100644 (file)
@@ -55,12 +55,12 @@ echo "Done\n";
 --EXPECTF--
 array(2) {
   ["LOB_1"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
   ["LOB_2"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
index 8e656f809d5e03390d21e99198cf7b920aa80eb9..15c336c9d7761983a37e4518ca2dd988336998c9 100644 (file)
@@ -57,12 +57,12 @@ echo "Done\n";
 --EXPECTF--
 array(2) {
   ["LOB_1"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
   ["LOB_2"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
index b41167b4e3ed32f2b9b1edb9f4bbf01a10174fcb..248bff70d59b1b0c455dc31abf5d2c7cdb73a33e 100644 (file)
Binary files a/ext/oci8/tests/lob_019.phpt and b/ext/oci8/tests/lob_019.phpt differ
index 01db85a01fae3ca9f035bfedbebf9274e5083b01..affdef912634d259fff24e1f081288bad00c5ff5 100644 (file)
Binary files a/ext/oci8/tests/lob_020.phpt and b/ext/oci8/tests/lob_020.phpt differ
index 49dc1a7a9506c42e6bb814a4386b596912ce4ccf..0833715569a4037e41e7657e06837d943c4f9bda 100644 (file)
@@ -62,7 +62,7 @@ int(4)
 bool(true)
 int(4)
 bool(true)
-string(%d) "OCI_Lob::write(): %s is not a valid oci8 descriptor resource"
+string(%d) "OCILob::write(): %s is not a valid oci8 descriptor resource"
 string(%d) "oci_free_descriptor(): %s is not a valid oci8 descriptor resource"
 
 Warning: oci_free_descriptor(): Unable to find descriptor property in %s on line %d
index 768dbe7ebfdb60bb01e9301d6ad7cbd72c1a6279..dba5adcbe36cd216b8a38f9df7b81af0affcd00d 100644 (file)
@@ -67,7 +67,7 @@ echo "Done\n";
 ?>
 --EXPECTF--
 
-Warning: OCI_Lob::save(): Offset parameter must be greater than or equal to 0 in %s on line %d
+Warning: OCILob::save(): Offset parameter must be greater than or equal to 0 in %s on line %d
 string(4) "data"
 string(9) "long data"
 string(9) "long data"
index 6eb1b85ac9af1ccc45f06677d4fc64581c84e98c..1c45e8d8d801a30e9b7b2c01d127e53da2f2d227 100644 (file)
@@ -47,7 +47,7 @@ echo "Done\n";
 
 ?>
 --EXPECTF--
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
@@ -59,12 +59,12 @@ Warning: oci_lob_import(): Unable to find descriptor property in %s on line %d
 bool(false)
 array(2) {
   [0]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
   ["BLOB"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
index 4ce0154c6450fd217d669e921b2d765e41e76481..b4c44d6b7217e7ece5cdf393a9ac2d338e5a8b41 100644 (file)
@@ -47,7 +47,7 @@ echo "Done\n";
 
 ?>
 --EXPECTF--
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
@@ -56,12 +56,12 @@ int(7000)
 int(7000)
 array(2) {
   [0]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
   ["BLOB"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
index f4ee78c11b8336029828bb2fb18d2803cca0a3d2..897e3c73742adf3237dcd5b099ff6be87c0c34ec 100644 (file)
@@ -52,12 +52,12 @@ int(7000)
 int(7000)
 array(2) {
   [0]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
   ["BLOB"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
index e1c624124a42b5ec74af39211cca1400fde406f9..ee52a9c816f0fe46697c59355a4fc9d1eaac809e 100644 (file)
@@ -56,7 +56,7 @@ echo "Done\n";
 
 ?>
 --EXPECTF--
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
@@ -66,12 +66,12 @@ int(3)
 bool(true)
 array(2) {
   [0]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
   ["BLOB"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
index d3639ca2e4512e0970041c8cf2221eebb9c6f64d..05390d1403df06431edddd7d912698ad3e2e0398 100644 (file)
@@ -67,19 +67,19 @@ echo "Done\n";
 
 ?>
 --EXPECTF--
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
 int(72)
 array(2) {
   [0]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
   ["BLOB"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
@@ -96,11 +96,11 @@ string(10) "this is a "
 bool(true)
 string(0) ""
 
-Warning: OCI_Lob::truncate(): Length must be greater than or equal to zero in %s on line %d
+Warning: OCILob::truncate(): Length must be greater than or equal to zero in %s on line %d
 bool(false)
 string(0) ""
 
-Warning: OCI_Lob::truncate(): Length must be greater than or equal to zero in %s on line %d
+Warning: OCILob::truncate(): Length must be greater than or equal to zero in %s on line %d
 bool(false)
 bool(true)
 Done
index b81c8179eb3ca91a4768c1a7e498a5f937886edf..9d05f8c7123650fb1349339c7160959d8b77d3bb 100644 (file)
@@ -48,27 +48,27 @@ echo "Done\n";
 
 ?>
 --EXPECTF--
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
index ff1a7c840769d66a20707ca599c012ced3554248..6b66ae9cbe6c5ba51431771e351e0ec54e72c6f8 100644 (file)
@@ -32,5 +32,5 @@ echo "Done\n";
 
 ?>
 --EXPECTF--
-Warning: OCI_Lob::write(): ORA-22990: %s in %s on line 19
+Warning: OCILob::write(): ORA-22990: %s in %s on line 19
 Done
index 82fa51b6cf476b3013b5246df34a8e9fd19e901f..35f0f1275ebd08b228e10cc8beb6d217e0ab3c39 100644 (file)
@@ -35,7 +35,7 @@ echo "Done\n";
 
 ?>
 --EXPECTF--
-Warning: OCI_Lob::save(): OCI_INVALID_HANDLE in %s on line %d
+Warning: OCILob::save(): OCI_INVALID_HANDLE in %s on line %d
 bool(true)
 bool(true)
 Done
index 511750eaf558f0e054746aa0a7f6005e22f86597..b19b38dac71cb5f72ced32e8441f2ce0ff9d3441 100644 (file)
@@ -48,6 +48,6 @@ bool(true)
 bool(true)
 bool(true)
 
-Warning: OCI_Lob::flush(): Invalid flag value: -1 in %s on line %d
+Warning: OCILob::flush(): Invalid flag value: -1 in %s on line %d
 bool(false)
 Done
index 924e776200547a0a63e53e06af0195a1296deace..1ea912df92798bdba354b1d2e181db05d693801c 100644 (file)
@@ -125,7 +125,7 @@ Test 1b
 bool(true)
 array(1) {
   ["CLOB"]=>
-  object(OCI_Lob)#2 (1) {
+  object(OCILob)#2 (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
@@ -133,7 +133,7 @@ array(1) {
 string(11) "clob test 1"
 array(1) {
   ["CLOB"]=>
-  object(OCI_Lob)#3 (1) {
+  object(OCILob)#3 (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
@@ -141,7 +141,7 @@ array(1) {
 string(11) "clob test 2"
 array(1) {
   ["CLOB"]=>
-  object(OCI_Lob)#2 (1) {
+  object(OCILob)#2 (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
@@ -167,7 +167,7 @@ Test 2b
 bool(true)
 array(1) {
   ["BLOB"]=>
-  object(OCI_Lob)#3 (1) {
+  object(OCILob)#3 (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
@@ -175,7 +175,7 @@ array(1) {
 string(11) "blob test 1"
 array(1) {
   ["BLOB"]=>
-  object(OCI_Lob)#4 (1) {
+  object(OCILob)#4 (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
@@ -183,7 +183,7 @@ array(1) {
 string(11) "blob test 2"
 array(1) {
   ["BLOB"]=>
-  object(OCI_Lob)#3 (1) {
+  object(OCILob)#3 (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
index a81fc56da8c60c6db2fc13432a5f184fd9f7c315..cc15989a2e0a2e0b9c719a3c0994ccd4cb2de94b 100644 (file)
@@ -69,7 +69,7 @@ test data
 
 Test 2 - implicit statement close
 test data
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (Unknown)
 }
@@ -78,7 +78,7 @@ Test 3 - no preallocated descriptor
 test data
 array(1) {
   ["C1"]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }
index e0393eeafb2a097fb4d029e6885c776dba58427a..eb447f22afd80ad7c149153aa8fe6595411bdfa9 100644 (file)
@@ -44,29 +44,29 @@ echo "Done\n";
 
 ?>
 --EXPECTF--
-object(OCI_Lob)#%d (1) {
+object(OCILob)#%d (1) {
   ["descriptor"]=>
   resource(%d) of type (oci8 descriptor)
 }
 
-Warning: OCI_Lob::writetemporary(): Invalid temporary lob type: %d in %s on line %d
+Warning: OCILob::writetemporary(): Invalid temporary lob type: %d in %s on line %d
 bool(false)
 int(6)
 bool(true)
 bool(true)
 
-Warning: OCI_Lob::truncate(): Size must be less than or equal to the current LOB size in %s on line %d
+Warning: OCILob::truncate(): Size must be less than or equal to the current LOB size in %s on line %d
 bool(false)
 
-Warning: OCI_Lob::truncate(): Length must be greater than or equal to zero in %s on line %d
+Warning: OCILob::truncate(): Length must be greater than or equal to zero in %s on line %d
 bool(false)
 
-Warning: OCI_Lob::read(): Offset must be less than size of the LOB in %s on line %d
+Warning: OCILob::read(): Offset must be less than size of the LOB in %s on line %d
 bool(false)
 
-Warning: OCI_Lob::import(): Can't open file %s in %s on line %d
+Warning: OCILob::import(): Can't open file %s in %s on line %d
 bool(false)
 
-Warning: OCI_Lob::savefile(): Can't open file %s in %s on line %d
+Warning: OCILob::savefile(): Can't open file %s in %s on line %d
 bool(false)
 Done
index 50cc9fb5d65cb0dc64aafb85e9c757137696c10e..06abe04957a29c1094d7713ac1cc43140d1160d1 100644 (file)
@@ -35,9 +35,9 @@ var_dump($r);
 --EXPECTF--
 Test 1: Import
 
-Warning: OCI_Lob::savefile(): Argument #1 ($function) must be a valid path, string given in %snull_byte_1.php on line %d
+Warning: OCILob::savefile(): Argument #1 ($function) must be a valid path, string given in %snull_byte_1.php on line %d
 NULL
 Test 2: Export
 
-Warning: OCI_Lob::export(): Argument #1 ($function) must be a valid path, string given in %snull_byte_1.php on line %d
+Warning: OCILob::export(): Argument #1 ($function) must be a valid path, string given in %snull_byte_1.php on line %d
 NULL
index 6294c1783126b40673f652319f0e39e23e369200..962c4c569743377c6c51a55d8647bfd5faa9179a 100644 (file)
@@ -111,7 +111,7 @@ oci8_test_sql_execute($c, $stmtarray);
 Test 1 Insert new XML data using a temporary CLOB
 array(1) {
   [0]=>
-  object(OCI_Lob)#%d (1) {
+  object(OCILob)#%d (1) {
     ["descriptor"]=>
     resource(%d) of type (oci8 descriptor)
   }