Hi, all. I'm going to rename functions from oci8 to match the naming-conventions. Old names will be kept as aliases, of course, but should be deprecated. Imho these changes will make OCI extsension more handy and it's API more similar to other extensions' API. I'd like to hear your opinions about new names and necessity of this renaming.
ocibindbyname -> oci_bind_by_name ocidefinebyname -> oci_define_by_name All Lob functions will be renamed to oci_lob_* ociloadlob -> oci_lob_load ocicloselob -> oci_lob_close ocisavelob -> oci_lob_save (I'm not sure we need this one, cause I plan to make $Lob->append() able to receive strings and Lobs as parameter) ocisavelobfile -> oci_lob_import ($Lob->import()) ociwritelobtofile -> oci_lob_export ($Lob->export()) ociwritetemporarylob -> oci_lob_write_temporary () All collection functions will be renamed to oci_collection_* ocicollappend -> oci_collection_append ocicollassign -> oci_collection_assign ocicollassignelem -> oci_collection_element_assign ocicollgetelem -> oci_collection_element_get ocicollmax -> oci_collection_max ocicollsize -> oci_collection_size ocicolltrim -> oci_collection_trim All functions with *column* in the name will sound as *field*. We call it "field" in all other DB API's, so I don't see any reason why we should call it differently here. ocicolumnisnull -> oci_field_is_null ocicolumnname -> oci_field_name ocicolumnprecision -> oci_field_precision ocicolumnscale -> oci_field_scale ocicolumnsize -> oci_field_size ocicolumntype -> oci_field_type ocicolumntyperaw -> oci_field_type_raw ocifetchinto -- this is a special case. I'd prefer to make 3 functions instead of it: oci_fetch_row, oci_fetch_array & oci_fetch_assoc ocifetchstatement -> oci_fetch_all ocifreecollection -> oci_free_collection (as I can see, this form is more widespread, than oci_collection_free() ) ocifreecursor -> oci_free_cursor ocifreedesc -> oci_free_descriptor ocifreestatement -> oci_free_statement ociinternaldebug -> oci_internal_debug ocicancel -> oci_cancel ocicommit -> oci_commit ocierror -> oci_error ociexecute -> oci_execute ocifetch -> oci_fetch ocilogoff -> oci_logoff (or oci_close ?) ocilogon -> oci_logon (or oci_connect ?) ocinewcollection -> oci_new_collection ocinewcursor -> oci_new_cursor ocinewdescriptor -> oci_new_descriptor ocinlogon -> oci_new_logon ocinumcols -> oci_num_fields ociparse -> oci_parse ociplogon -> oci_plogon (or oci_pconnect would be better?) ociresult -> oci_result ocirollback -> oci_rollback ocirowcount -> oci_num_rows ociserverversion -> oci_server_version ocisetprefetch -> oci_set_prefetch ocistatementtype -> oci_statement_type --- WBR, Antony Dovgal aka tony2001 [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php