B.6 Oracle (oci8) Extension Functions Renamed

The Oracle extension's function names are now consistent with the rest of PHP. For instance, ocibindbyname( ) is now oci_bind_by_name( ), and ocinewcursor( ) is now oci_new_cursor( ). See Table B-1 for a complete list of old and new function names.

The old names are preserved for backward compatibility, but should be considered deprecated.


Table B-1. Renamed oci functions

PHP 4

PHP 5

ocibindbyname( )

oci_bind_by_name( )

ocicancel( )

oci_cancel( )

ocicollappend( )

oci_collection_append( )

ocicollassignelem( )

oci_collection_element_assign( )

ocicollgetelem( )

oci_collection_element_get( )

ocicollmax( )

oci_collection_max( )

ocicollsize( )

oci_collection_size( )

ocicolltrim( )

oci_collection_trim( )

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( )

ocicommit( )

oci_commit( )

ocidefinebyname( )

oci_define_by_name( )

ocierror( )

oci_error( )

ociexecute( )

oci_execute( )

ocifetch( )

oci_fetch( )

ocifetchstatement( )

oci_fetch_all( )

ocifreecollection( )

oci_free_collection( )

ocifreecursor( )

oci_free_cursor( )

ocifreedesc( )

oci_free_descriptor( )

ocifreestatement( )

oci_free_statement( )

ociinternaldebug( )

oci_internal_debug( )

ociloadlob( )

oci_lob_load( )

ocilogoff( )

oci_close( )

ocilogon( )

oci_connect( )

ocinewcollection( )

oci_new_collection( )

ocinewcursor( )

oci_new_cursor( )

ocinewdescriptor( )

oci_new_descriptor( )

ocinlogon( )

oci_new_connect( )

ocinumcols( )

oci_num_fields( )

ociparse( )

oci_parse( )

ocipasswordchange( )

oci_password_change( )

ociplogon( )

oci_pconnect( )

ociresult( )

oci_result( )

ocirollback( )

oci_rollback( )

ocirowcount( )

oci_num_rows( )

ocisavelob( )

oci_lob_save( )

ocisavelobfile( )

oci_lob_import( )

ociserverversion( )

oci_server_version( )

ocisetprefetch( )

oci_set_prefetch( )

ocistatementtype( )

oci_statement_type( )

ociwritelobtofile( )

oci_lob_export( )