函数别名列表

这里是函数别名列表,所有的别名列表如下。通常使用别名并不是一个好主意,这是因为它可能会废弃不用或者重新定义。这会导致不可移植脚本的出现。本列表是为了帮助想要升级他们旧有脚本到新版本语法的开发人员。很多 PHP 函数都有一个别名,可以用别名调用它。在某些情况下,两个名称都非常合适,无从取舍,is_intis_integer 就是一个很好的例子。而有些情况则是,由于内部 API 的清理或其它一些原因,函数名被修改,但是老的名称保留了下来,以确保向后兼容性。使用这种别名通常不是个好主意,因为这种别名可能会被完全废弃或更名,导致脚本难以移植到新版本的 PHP 上。我们提供了本列表,来帮助那些要升级旧程序到更新语法的人。

别名主函数使用的扩展模块
_gettextGettext
addswfmovie_addMing (flash)
addswfsprite_addMing (flash)
add_rootdomxml_add_root 
addactionswfbutton_addActionMing (flash)
addcolorswfdisplayitem_addColorMing (flash)
addentryswfgradient_addEntryMing (flash)
addfillswfshape_addfillMing (flash)
addshapeswfbutton_addShapeMing (flash)
addstringswftext_addStringMing (flash)
addstringswftextfield_addStringMing (flash)
alignswftextfield_alignMing (flash)
attributesdomxml_attributes 
childrendomxml_children 
choprtrim基本语法
closeclosedir基本语法
com_getcom_propgetCOM
com_propsetcom_propputCOM
com_setcom_propputCOM
dieexit杂类函数
dirgetdir基本语法
diskfreespacedisk_free_space文件系统函数
domxml_getattrdomxml_get_attribute 
domxml_setattrdomxml_set_attribute 
doublevalfloatval基本语法
drawarcswfshape_drawarcMing (flash)
drawcircleswfshape_drawcircleMing (flash)
drawcubicswfshape_drawcubicMing (flash)
drawcubictoswfshape_drawcubictoMing (flash)
drawcurveswfshape_drawcurveMing (flash)
drawcurvetoswfshape_drawcurvetoMing (flash)
drawglyphswfshape_drawglyphMing (flash)
drawlineswfshape_drawlineMing (flash)
drawlinetoswfshape_drawlinetoMing (flash)
dtddomxml_intdtd 
dumpmemdomxml_dumpmem 
fbsqlfbsql_db_queryFrontBase
fputsfwrite基本语法
get_attributedomxml_get_attribute 
getascentswffont_getAscentMing (flash)
getascentswftext_getAscentMing (flash)
getattrdomxml_get_attribute 
getdescentswffont_getDescentMing (flash)
getdescentswftext_getDescentMing (flash)
getheightswfbitmap_getHeightMing (flash)
getleadingswffont_getLeadingMing (flash)
getleadingswftext_getLeadingMing (flash)
getshape1swfmorph_getShape1Ming (flash)
getshape2swfmorph_getShape2Ming (flash)
getwidthswfbitmap_getWidthMing (flash)
getwidthswffont_getWidthMing (flash)
getwidthswftext_getWidthMing (flash)
gzputsgzwriteZlib
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_createmailboxIMAP
imap_fetchtextimap_bodyIMAP
imap_getmailboxesimap_list_fullIMAP
imap_getsubscribedimap_lsub_fullIMAP
imap_headerimap_headerinfoIMAP
imap_listmailboximap_listIMAP
imap_listsubscribedimap_lsubIMAP
imap_renameimap_renamemailboxIMAP
imap_scanimap_listscanIMAP
imap_scanmailboximap_listscanIMAP
ini_alterini_set基本语法
is_doubleis_float基本语法
is_integeris_int基本语法
is_longis_int基本语法
is_realis_float基本语法
is_writeableis_writable基本语法
joinimplode基本语法
key_existsarray_key_exists基本语法
labelframeswfmovie_labelFrameMing (flash)
labelframeswfsprite_labelFrameMing (flash)
last_childdomxml_last_child 
lastchilddomxml_last_child 
ldap_closeldap_unbindLDAP
magic_quotes_runtimeset_magic_quotes_runtime基本语法
mbstrcutmb_strcut多字节字符串函数
mbstrlenmb_strlen多字节字符串函数
mbstrposmb_strpos多字节字符串函数
mbstrrposmb_strrpos多字节字符串函数
mbsubstrmb_substr多字节字符串函数
ming_setcubicthresholdming_setCubicThresholdMing (flash)
ming_setscaleming_setScaleMing (flash)
moveswfdisplayitem_moveMing (flash)
movepenswfshape_movepenMing (flash)
movepentoswfshape_movepentoMing (flash)
movetoswfdisplayitem_moveToMing (flash)
movetoswffill_moveToMing (flash)
movetoswftext_moveToMing (flash)
msqlmsql_db_querymSQL
msql_createdbmsql_create_dbmSQL
msql_dbnamemsql_resultmSQL
msql_dropdbmsql_drop_dbmSQL
msql_fieldflagsmsql_field_flagsmSQL
msql_fieldlenmsql_field_lenmSQL
msql_fieldnamemsql_field_namemSQL
msql_fieldtablemsql_field_tablemSQL
msql_fieldtypemsql_field_typemSQL
msql_freeresultmsql_free_resultmSQL
msql_listdbsmsql_list_dbsmSQL
msql_listfieldsmsql_list_fieldsmSQL
msql_listtablesmsql_list_tablesmSQL
msql_numfieldsmsql_num_fieldsmSQL
msql_numrowsmsql_num_rowsmSQL
msql_regcasesql_regcasemSQL
msql_selectdbmsql_select_dbmSQL
msql_tablenamemsql_resultmSQL
mssql_affected_rowssybase_affected_rowsSybase
mssql_affected_rowssybase_affected_rowsSybase
mssql_closesybase_closeSybase
mssql_closesybase_closeSybase
mssql_connectsybase_connectSybase
mssql_connectsybase_connectSybase
mssql_data_seeksybase_data_seekSybase
mssql_data_seeksybase_data_seekSybase
mssql_fetch_arraysybase_fetch_arraySybase
mssql_fetch_arraysybase_fetch_arraySybase
mssql_fetch_fieldsybase_fetch_fieldSybase
mssql_fetch_fieldsybase_fetch_fieldSybase
mssql_fetch_objectsybase_fetch_objectSybase
mssql_fetch_objectsybase_fetch_objectSybase
mssql_fetch_rowsybase_fetch_rowSybase
mssql_fetch_rowsybase_fetch_rowSybase
mssql_field_seeksybase_field_seekSybase
mssql_field_seeksybase_field_seekSybase
mssql_free_resultsybase_free_resultSybase
mssql_free_resultsybase_free_resultSybase
mssql_get_last_messagesybase_get_last_messageSybase
mssql_get_last_messagesybase_get_last_messageSybase
mssql_min_client_severitysybase_min_client_severitySybase
mssql_min_error_severitysybase_min_error_severitySybase
mssql_min_message_severitysybase_min_message_severitySybase
mssql_min_server_severitysybase_min_server_severitySybase
mssql_num_fieldssybase_num_fieldsSybase
mssql_num_fieldssybase_num_fieldsSybase
mssql_num_rowssybase_num_rowsSybase
mssql_num_rowssybase_num_rowsSybase
mssql_pconnectsybase_pconnectSybase
mssql_pconnectsybase_pconnectSybase
mssql_querysybase_querySybase
mssql_querysybase_querySybase
mssql_resultsybase_resultSybase
mssql_resultsybase_resultSybase
mssql_select_dbsybase_select_dbSybase
mssql_select_dbsybase_select_dbSybase
multcolorswfdisplayitem_multColorMing (flash)
mysqlmysql_db_queryMySQL
mysql_createdbmysql_create_dbMySQL
mysql_db_namemysql_resultMySQL
mysql_dbnamemysql_resultMySQL
mysql_dropdbmysql_drop_dbMySQL
mysql_fieldflagsmysql_field_flagsMySQL
mysql_fieldlenmysql_field_lenMySQL
mysql_fieldnamemysql_field_nameMySQL
mysql_fieldtablemysql_field_tableMySQL
mysql_fieldtypemysql_field_typeMySQL
mysql_freeresultmysql_free_resultMySQL
mysql_listdbsmysql_list_dbsMySQL
mysql_listfieldsmysql_list_fieldsMySQL
mysql_listtablesmysql_list_tablesMySQL
mysql_numfieldsmysql_num_fieldsMySQL
mysql_numrowsmysql_num_rowsMySQL
mysql_selectdbmysql_select_dbMySQL
mysql_tablenamemysql_resultMySQL
namedomxml_attrname 
new_childdomxml_new_child 
new_xmldocdomxml_new_xmldoc 
nextframeswfmovie_nextFrameMing (flash)
nextframeswfsprite_nextFrameMing (flash)
nodedomxml_node 
ociassignelemOCI-Collection::assignElemOCI8
ocibindbynameoci_bind_by_nameOCI8
ocicanceloci_cancelOCI8
ocicloselobOCI-Lob::closeOCI8
ocicollappendOCI-Collection::appendOCI8
ocicollassignOCI-Collection::assignOCI8
ocicollmaxOCI-Collection::maxOCI8
ocicollsizeOCI-Collection::sizeOCI8
ocicolltrimOCI-Collection::trimOCI8
ocicolumnisnulloci_field_is_nullOCI8
ocicolumnnameoci_field_nameOCI8
ocicolumnprecisionoci_field_precisionOCI8
ocicolumnscaleoci_field_scaleOCI8
ocicolumnsizeoci_field_sizeOCI8
ocicolumntypeoci_field_typeOCI8
ocicolumntyperawoci_field_type_rawOCI8
ocicommitoci_commitOCI8
ocidefinebynameoci_define_by_nameOCI8
ocierroroci_errorOCI8
ociexecuteoci_executeOCI8
ocifetchoci_fetchOCI8
ocifetchintooci_fetch_array, oci_fetch_row, oci_fetch_assoc, oci_fetch_objectOCI8
ocifetchstatementoci_fetch_allOCI8
ocifreecollectionOCI-Collection::freeOCI8
ocifreecursoroci_free_statementOCI8
ocifreedescoci_free_descriptorOCI8
ocifreestatementoci_free_statementOCI8
ocigetelemOCI-Collection::getElemOCI8
ociinternaldebugoci_internal_debugOCI8
ociloadlobOCI-Lob::loadOCI8
ocilogonoci_connectOCI8
ocinewcollectionoci_new_collectionOCI8
ocinewcursoroci_new_cursorOCI8
ocinewdescriptoroci_new_descriptorOCI8
ocinlogonoci_new_connectOCI8
ocinumcolsoci_num_fieldsOCI8
ociparseoci_parseOCI8
ocipasswordchangeoci_password_changeOCI8
ociplogonoci_pconnectOCI8
ociresultoci_resultOCI8
ocirollbackoci_rollbackOCI8
ocisavelobOCI-Lob::saveOCI8
ocisavelobfileOCI-Lob::importOCI8
ociserverversionoci_server_versionOCI8
ocisetprefetchoci_set_prefetchOCI8
ocistatementtypeoci_statement_typeOCI8
ociwritelobtofileOCI-Lob::exportOCI8
ociwritetemporarylobOCI-Lob::writeTemporaryOCI8
odbc_doodbc_execODBC
odbc_field_precisionodbc_field_lenODBC
outputswfmovie_outputMing (flash)
parentdomxml_parent 
pdf_add_outlinepdf_add_bookmarkPDF
pg_clientencodingpg_client_encodingPostgreSQL
pg_setclientencodingpg_set_client_encodingPostgreSQL
poscurrent基本语法
recoderecode_stringRecode
removeswfmovie_removeMing (flash)
removeswfsprite_removeMing (flash)
rewindrewinddir基本语法
rootdomxml_root 
rotateswfdisplayitem_rotateMing (flash)
rotatetoswfdisplayitem_rotateToMing (flash)
rotatetoswffill_rotateToMing (flash)
saveswfmovie_saveMing (flash)
savetofileswfmovie_saveToFileMing (flash)
scaleswfdisplayitem_scaleMing (flash)
scaletoswfdisplayitem_scaleToMing (flash)
scaletoswffill_scaleToMing (flash)
set_attributedomxml_set_attribute 
set_contentdomxml_set_content 
setactionswfbutton_setActionMing (flash)
setattrdomxml_set_attribute 
setbackgroundswfmovie_setBackgroundMing (flash)
setboundsswftextfield_setBoundsMing (flash)
setcolorswftext_setColorMing (flash)
setcolorswftextfield_setColorMing (flash)
setdepthswfdisplayitem_setDepthMing (flash)
setdimensionswfmovie_setDimensionMing (flash)
setdownswfbutton_setDownMing (flash)
setfontswftext_setFontMing (flash)
setfontswftextfield_setFontMing (flash)
setframesswfmovie_setFramesMing (flash)
setframesswfsprite_setFramesMing (flash)
setheightswftext_setHeightMing (flash)
setheightswftextfield_setHeightMing (flash)
sethitswfbutton_setHitMing (flash)
setindentationswftextfield_setIndentationMing (flash)
setleftfillswfshape_setleftfillMing (flash)
setleftmarginswftextfield_setLeftMarginMing (flash)
setlineswfshape_setlineMing (flash)
setlinespacingswftextfield_setLineSpacingMing (flash)
setmarginsswftextfield_setMarginsMing (flash)
setmatrixswfdisplayitem_setMatrixMing (flash)
setnameswfdisplayitem_setNameMing (flash)
setnameswftextfield_setNameMing (flash)
setoverswfbutton_setOverMing (flash)
setrateswfmovie_setRateMing (flash)
setratioswfdisplayitem_setRatioMing (flash)
setrightfillswfshape_setrightfillMing (flash)
setrightmarginswftextfield_setRightMarginMing (flash)
setspacingswftext_setSpacingMing (flash)
setupswfbutton_setUpMing (flash)
show_sourcehighlight_file 基本语法
sizeofcount基本语法
skewxswfdisplayitem_skewXMing (flash)
skewxtoswfdisplayitem_skewXToMing (flash)
skewxtoswffill_skewXToMing (flash)
skewyswfdisplayitem_skewYMing (flash)
skewytoswfdisplayitem_skewYToMing (flash)
skewytoswffill_skewYToMing (flash)
snmpwalkoidsnmprealwalkSNMP
strchrstrstr基本语法
streammp3swfmovie_streamMp3Ming (flash)
swfactionswfaction_initMing (flash)
swfbitmapswfbitmap_initMing (flash)
swfbuttonswfbutton_initMing (flash)
swffillswffill_initMing (flash)
swffontswffont_initMing (flash)
swfgradientswfgradient_initMing (flash)
swfmorphswfmorph_initMing (flash)
swfmovieswfmovie_initMing (flash)
swfshapeswfshape_initMing (flash)
swfspriteswfsprite_initMing (flash)
swftextswftext_initMing (flash)
swftextfieldswftextfield_initMing (flash)
unlinkdomxml_unlink_node 
xptr_new_contextxpath_new_context