函式別名列表

函式別名列表

這裡是函式別名列表,所有的別名列表如下。通常使用別名並不是一個好主意,這是因為它可能會廢棄不用或者重新定義。這會導致不可移植指令碼的出現。本列表是爲了幫助想要升級他們舊有指令碼到新版本語法的開發人員。很多 PHP 函式都有一個別名,可以用別名呼叫它。在某些情況下,兩個名稱都非常合適,無從取捨,is_int()is_integer() 就是一個很好的例子。而有些情況則是,由於內部 API 的清理或其它一些原因,函式名被修改,但是老的名稱保留了下來,以確保向後相容性。使用這種別名通常不是個好主意,因為這種別名可能會被完全廢棄或更名,導致指令碼難以移植到新版本的 PHP 上。我們提供了本列表,來幫助那些要升級舊程式到更新語法的人。

別名列表
別名主函式使用的擴充套件模組
_gettext()Gettext
choprtrim()基本語法
closeclosedir()基本語法
com_getcom_propget()COM
com_propsetcom_propput()COM
com_setcom_propput()COM
dieexit()雜類函式
diskfreespacedisk_free_space()檔案系統函式
doublevalfloatval()基本語法
fputsfwrite()基本語法
gzputsgzwrite()Zlib
i18n_convertmb_convert_encoding()多位元組字串函式
i18n_discover_encodingmb_detect_encoding()多位元組字串函式
i18n_http_inputmb_http_input()多位元組字串函式
i18n_http_outputmb_http_output()多位元組字串函式
i18n_internal_encodingmb_internal_encoding()多位元組字串函式
i18n_ja_jp_hantozenmb_convert_kana()多位元組字串函式
i18n_mime_header_decodemb_decode_mimeheader()多位元組字串函式
i18n_mime_header_encodemb_encode_mimeheader()多位元組字串函式
imap_createimap_createmailbox()IMAP
imap_fetchtextimap_body()IMAP
imap_getmailboxesimap_list_full()IMAP
imap_getsubscribedimap_lsub_full()IMAP
imap_headerimap_headerinfo()IMAP
imap_listmailboximap_list()IMAP
imap_listsubscribedimap_lsub()IMAP
imap_renameimap_renamemailbox()IMAP
imap_scanimap_listscan()IMAP
imap_scanmailboximap_listscan()IMAP
ini_alterini_set()基本語法
is_doubleis_float()基本語法
is_integeris_int()基本語法
is_longis_int()基本語法
is_realis_float()基本語法
is_writeableis_writable()基本語法
joinimplode()基本語法
key_existsarray_key_exists()基本語法
ldap_closeldap_unbind()LDAP
mbstrcutmb_strcut()多位元組字串函式
mbstrlenmb_strlen()多位元組字串函式
mbstrposmb_strpos()多位元組字串函式
mbstrrposmb_strrpos()多位元組字串函式
mbsubstrmb_substr()多位元組字串函式
mysqlmysql_db_query()MySQL
mysql_createdbmysql_create_db()MySQL
mysql_db_namemysql_result()MySQL
mysql_dbnamemysql_result()MySQL
mysql_dropdbmysql_drop_db()MySQL
mysql_fieldflagsmysql_field_flags()MySQL
mysql_fieldlenmysql_field_len()MySQL
mysql_fieldnamemysql_field_name()MySQL
mysql_fieldtablemysql_field_table()MySQL
mysql_fieldtypemysql_field_type()MySQL
mysql_freeresultmysql_free_result()MySQL
mysql_listdbsmysql_list_dbs()MySQL
mysql_listfieldsmysql_list_fields()MySQL
mysql_listtablesmysql_list_tables()MySQL
mysql_numfieldsmysql_num_fields()MySQL
mysql_numrowsmysql_num_rows()MySQL
mysql_selectdbmysql_select_db()MySQL
mysql_tablenamemysql_result()MySQL
ociassignelemOCICollection::assignElemOCI8
ocibindbynameoci_bind_by_name()OCI8
ocicanceloci_cancel()OCI8
ocicloselobOCILob::closeOCI8
ocicollappendOCICollection::appendOCI8
ocicollassignOCICollection::assignOCI8
ocicollmaxOCICollection::maxOCI8
ocicollsizeOCICollection::sizeOCI8
ocicolltrimOCICollection::trimOCI8
ocicolumnisnulloci_field_is_null()OCI8
ocicolumnnameoci_field_name()OCI8
ocicolumnprecisionoci_field_precision()OCI8
ocicolumnscaleoci_field_scale()OCI8
ocicolumnsizeoci_field_size()OCI8
ocicolumntypeoci_field_type()OCI8
ocicolumntyperawoci_field_type_raw()OCI8
ocicommitoci_commit()OCI8
ocidefinebynameoci_define_by_name()OCI8
ocierroroci_error()OCI8
ociexecuteoci_execute()OCI8
ocifetchoci_fetch()OCI8
ocifetchintooci_fetch_array(), oci_fetch_row(), oci_fetch_assoc(), oci_fetch_object()OCI8
ocifetchstatementoci_fetch_all()OCI8
ocifreecollectionOCICollection::freeOCI8
ocifreecursoroci_free_statement()OCI8
ocifreedescoci_free_descriptor()OCI8
ocifreestatementoci_free_statement()OCI8
ocigetelemOCICollection::getElemOCI8
ociinternaldebugoci_internal_debug()OCI8
ociloadlobOCILob::loadOCI8
ocilogonoci_connect()OCI8
ocinewcollectionoci_new_collection()OCI8
ocinewcursoroci_new_cursor()OCI8
ocinewdescriptoroci_new_descriptor()OCI8
ocinlogonoci_new_connect()OCI8
ocinumcolsoci_num_fields()OCI8
ociparseoci_parse()OCI8
ocipasswordchangeoci_password_change()OCI8
ociplogonoci_pconnect()OCI8
ociresultoci_result()OCI8
ocirollbackoci_rollback()OCI8
ocisavelobOCILob::saveOCI8
ocisavelobfileOCILob::importOCI8
ociserverversionoci_server_version()OCI8
ocisetprefetchoci_set_prefetch()OCI8
ocistatementtypeoci_statement_type()OCI8
ociwritelobtofileOCILob::exportOCI8
ociwritetemporarylobOCILob::writeTemporaryOCI8
odbc_doodbc_exec()ODBC
odbc_field_precisionodbc_field_len()ODBC
pg_clientencodingpg_client_encoding()PostgreSQL
pg_setclientencodingpg_set_client_encoding()PostgreSQL
poscurrent()Base syntax
recoderecode_string()Recode
show_sourcehighlight_file()Base syntax
sizeofcount()Base syntax
snmpwalkoidsnmprealwalk()SNMP
strchrstrstr()Base syntax
xptr_new_contextxpath_new_context() 

Leave a Reply

Your email address will not be published. Required fields are marked *