函数别名列表

这里是函数别名列表,所有的别名列表如下。通常使用别名并不是一个好主意,这是因为它可能会废弃不用或者重新定义。这会导致不可移植脚本的出现。本列表是为了帮助想要升级他们旧有脚本到新版本语法的开发人员。很多 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()基本语法
recoderecode_string()Recode
show_sourcehighlight_file()基本语法
sizeofcount()基本语法
snmpwalkoidsnmprealwalk()SNMP
strchrstrstr()基本语法
xptr_new_contextxpath_new_context() 
To Top