手机版

PHP函数别名列表

2019-09-10 阅读 :

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

 

别名列表
别名 主函数 使用的扩展模块
_ gettext() Gettext
add swfmovie_add() Ming (flash)
add swfsprite_add() Ming (flash)
add_root domxml_add_root()  
addaction swfbutton_addAction() Ming (flash)
addcolor swfdisplayitem_addColor() Ming (flash)
addentry swfgradient_addEntry() Ming (flash)
addfill swfshape_addfill() Ming (flash)
addshape swfbutton_addShape() Ming (flash)
addstring swftext_addString() Ming (flash)
addstring swftextfield_addString() Ming (flash)
align swftextfield_align() Ming (flash)
attributes domxml_attributes()  
children domxml_children()  
chop rtrim() 基本语法
close closedir() 基本语法
com_get com_propget() COM
com_propset com_propput() COM
com_set com_propput() COM
die exit() 杂类函数
dir getdir() 基本语法
diskfreespace disk_free_space() 文件系统函数
domxml_getattr domxml_get_attribute()  
domxml_setattr domxml_set_attribute()  
doubleval floatval() 基本语法
drawarc swfshape_drawarc() Ming (flash)
drawcircle swfshape_drawcircle() Ming (flash)
drawcubic swfshape_drawcubic() Ming (flash)
drawcubicto swfshape_drawcubicto() Ming (flash)
drawcurve swfshape_drawcurve() Ming (flash)
drawcurveto swfshape_drawcurveto() Ming (flash)
drawglyph swfshape_drawglyph() Ming (flash)
drawline swfshape_drawline() Ming (flash)
drawlineto swfshape_drawlineto() Ming (flash)
dtd domxml_intdtd()  
dumpmem domxml_dumpmem()  
fbsql fbsql_db_query() FrontBase
fputs fwrite() 基本语法
get_attribute domxml_get_attribute()  
getascent swffont_getAscent() Ming (flash)
getascent swftext_getAscent() Ming (flash)
getattr domxml_get_attribute()  
getdescent swffont_getDescent() Ming (flash)
getdescent swftext_getDescent() Ming (flash)
getheight swfbitmap_getHeight() Ming (flash)
getleading swffont_getLeading() Ming (flash)
getleading swftext_getLeading() Ming (flash)
getshape1 swfmorph_getShape1() Ming (flash)
getshape2 swfmorph_getShape2() Ming (flash)
getwidth swfbitmap_getWidth() Ming (flash)
getwidth swffont_getWidth() Ming (flash)
getwidth swftext_getWidth() Ming (flash)
gzputs gzwrite() Zlib
i18n_convert mb_convert_encoding() 多字节字符串函数
i18n_discover_encoding mb_detect_encoding() 多字节字符串函数
i18n_http_input mb_http_input() 多字节字符串函数
i18n_http_output mb_http_output() 多字节字符串函数
i18n_internal_encoding mb_internal_encoding() 多字节字符串函数
i18n_ja_jp_hantozen mb_convert_kana() 多字节字符串函数
i18n_mime_header_decode mb_decode_mimeheader() 多字节字符串函数
i18n_mime_header_encode mb_encode_mimeheader() 多字节字符串函数
imap_create imap_createmailbox() IMAP
imap_fetchtext imap_body() IMAP
imap_getmailboxes imap_list_full() IMAP
imap_getsubscribed imap_lsub_full() IMAP
imap_header imap_headerinfo() IMAP
imap_listmailbox imap_list() IMAP
imap_listsubscribed imap_lsub() IMAP
imap_rename imap_renamemailbox() IMAP
imap_scan imap_listscan() IMAP
imap_scanmailbox imap_listscan() IMAP
ini_alter ini_set() 基本语法
is_double is_float() 基本语法
is_integer is_int() 基本语法
is_long is_int() 基本语法
is_real is_float() 基本语法
is_writeable is_writable() 基本语法
join implode() 基本语法
key_exists array_key_exists() 基本语法
labelframe swfmovie_labelFrame() Ming (flash)
labelframe swfsprite_labelFrame() Ming (flash)
last_child domxml_last_child()  
lastchild domxml_last_child()  
ldap_close ldap_unbind() LDAP
magic_quotes_runtime set_magic_quotes_runtime() 基本语法
mbstrcut mb_strcut() 多字节字符串函数
mbstrlen mb_strlen() 多字节字符串函数
mbstrpos mb_strpos() 多字节字符串函数
mbstrrpos mb_strrpos() 多字节字符串函数
mbsubstr mb_substr() 多字节字符串函数
ming_setcubicthreshold ming_setCubicThreshold() Ming (flash)
ming_setscale ming_setScale() Ming (flash)
move swfdisplayitem_move() Ming (flash)
movepen swfshape_movepen() Ming (flash)
movepento swfshape_movepento() Ming (flash)
moveto swfdisplayitem_moveTo() Ming (flash)
moveto swffill_moveTo() Ming (flash)
moveto swftext_moveTo() Ming (flash)
msql msql_db_query() mSQL
msql_createdb msql_create_db() mSQL
msql_dbname msql_result() mSQL
msql_dropdb msql_drop_db() mSQL
msql_fieldflags msql_field_flags() mSQL
msql_fieldlen msql_field_len() mSQL
msql_fieldname msql_field_name() mSQL
msql_fieldtable msql_field_table() mSQL
msql_fieldtype msql_field_type() mSQL
msql_freeresult msql_free_result() mSQL
msql_listdbs msql_list_dbs() mSQL
msql_listfields msql_list_fields() mSQL
msql_listtables msql_list_tables() mSQL
msql_numfields msql_num_fields() mSQL
msql_numrows msql_num_rows() mSQL
msql_regcase sql_regcase() mSQL
msql_selectdb msql_select_db() mSQL
msql_tablename msql_result() mSQL
mssql_affected_rows sybase_affected_rows() Sybase
mssql_affected_rows sybase_affected_rows() Sybase
mssql_close sybase_close() Sybase
mssql_close sybase_close() Sybase
mssql_connect sybase_connect() Sybase
mssql_connect sybase_connect() Sybase
mssql_data_seek sybase_data_seek() Sybase
mssql_data_seek sybase_data_seek() Sybase
mssql_fetch_array sybase_fetch_array() Sybase
mssql_fetch_array sybase_fetch_array() Sybase
mssql_fetch_field sybase_fetch_field() Sybase
mssql_fetch_field sybase_fetch_field() Sybase
mssql_fetch_object sybase_fetch_object() Sybase
mssql_fetch_object sybase_fetch_object() Sybase
mssql_fetch_row sybase_fetch_row() Sybase
mssql_fetch_row sybase_fetch_row() Sybase
mssql_field_seek sybase_field_seek() Sybase
mssql_field_seek sybase_field_seek() Sybase
mssql_free_result sybase_free_result() Sybase
mssql_free_result sybase_free_result() Sybase
mssql_get_last_message sybase_get_last_message() Sybase
mssql_get_last_message sybase_get_last_message() Sybase
mssql_min_client_severity sybase_min_client_severity() Sybase
mssql_min_error_severity sybase_min_error_severity() Sybase
mssql_min_message_severity sybase_min_message_severity() Sybase
mssql_min_server_severity sybase_min_server_severity() Sybase
mssql_num_fields sybase_num_fields() Sybase
mssql_num_fields sybase_num_fields() Sybase
mssql_num_rows sybase_num_rows() Sybase
mssql_num_rows sybase_num_rows() Sybase
mssql_pconnect sybase_pconnect() Sybase
mssql_pconnect sybase_pconnect() Sybase
mssql_query sybase_query() Sybase
mssql_query sybase_query() Sybase
mssql_result sybase_result() Sybase
mssql_result sybase_result() Sybase
mssql_select_db sybase_select_db() Sybase
mssql_select_db sybase_select_db() Sybase
multcolor swfdisplayitem_multColor() Ming (flash)
mysql mysql_db_query() MySQL
mysql_createdb mysql_create_db() MySQL
mysql_db_name mysql_result() MySQL
mysql_dbname mysql_result() MySQL
mysql_dropdb mysql_drop_db() MySQL
mysql_fieldflags mysql_field_flags() MySQL
mysql_fieldlen mysql_field_len() MySQL
mysql_fieldname mysql_field_name() MySQL
mysql_fieldtable mysql_field_table() MySQL
mysql_fieldtype mysql_field_type() MySQL
mysql_freeresult mysql_free_result() MySQL
mysql_listdbs mysql_list_dbs() MySQL
mysql_listfields mysql_list_fields() MySQL
mysql_listtables mysql_list_tables() MySQL
mysql_numfields mysql_num_fields() MySQL
mysql_numrows mysql_num_rows() MySQL
mysql_selectdb mysql_select_db() MySQL
mysql_tablename mysql_result() MySQL
name domxml_attrname()  
new_child domxml_new_child()  
new_xmldoc domxml_new_xmldoc()  
nextframe swfmovie_nextFrame() Ming (flash)
nextframe swfsprite_nextFrame() Ming (flash)
node domxml_node()  
ociassignelem OCI-Collection::assignElem OCI8
ocibindbyname oci_bind_by_name() OCI8
ocicancel oci_cancel() OCI8
ocicloselob OCI-Lob::close OCI8
ocicollappend OCI-Collection::append OCI8
ocicollassign OCI-Collection::assign OCI8
ocicollmax OCI-Collection::max OCI8
ocicollsize OCI-Collection::size OCI8
ocicolltrim OCI-Collection::trim OCI8
ocicolumnisnull oci_field_is_null() OCI8
ocicolumnname oci_field_name() OCI8
ocicolumnprecision oci_field_precision() OCI8
ocicolumnscale oci_field_scale() OCI8
ocicolumnsize oci_field_size() OCI8
ocicolumntype oci_field_type() OCI8
ocicolumntyperaw oci_field_type_raw() OCI8
ocicommit oci_commit() OCI8
ocidefinebyname oci_define_by_name() OCI8
ocierror oci_error() OCI8
ociexecute oci_execute() OCI8
ocifetch oci_fetch() OCI8
ocifetchinto oci_fetch_array(), oci_fetch_row(), oci_fetch_assoc(), oci_fetch_object() OCI8
ocifetchstatement oci_fetch_all() OCI8
ocifreecollection OCI-Collection::free OCI8
ocifreecursor oci_free_statement() OCI8
ocifreedesc oci_free_descriptor() OCI8
ocifreestatement oci_free_statement() OCI8
ocigetelem OCI-Collection::getElem OCI8
ociinternaldebug oci_internal_debug() OCI8
ociloadlob OCI-Lob::load OCI8
ocilogon oci_connect() OCI8
ocinewcollection oci_new_collection() OCI8
ocinewcursor oci_new_cursor() OCI8
ocinewdescriptor oci_new_descriptor() OCI8
ocinlogon oci_new_connect() OCI8
ocinumcols oci_num_fields() OCI8
ociparse oci_parse() OCI8
ocipasswordchange oci_password_change() OCI8
ociplogon oci_pconnect() OCI8
ociresult oci_result() OCI8
ocirollback oci_rollback() OCI8
ocisavelob OCI-Lob::save OCI8
ocisavelobfile OCI-Lob::import OCI8
ociserverversion oci_server_version() OCI8
ocisetprefetch oci_set_prefetch() OCI8
ocistatementtype oci_statement_type() OCI8
ociwritelobtofile OCI-Lob::export OCI8
ociwritetemporarylob OCI-Lob::writeTemporary OCI8
odbc_do odbc_exec() ODBC
odbc_field_precision odbc_field_len() ODBC
output swfmovie_output() Ming (flash)
parent domxml_parent()  
pdf_add_outline pdf_add_bookmark() PDF
pg_clientencoding pg_client_encoding() PostgreSQL
pg_setclientencoding pg_set_client_encoding() PostgreSQL
pos current() 基本语法
recode recode_string() Recode
remove swfmovie_remove() Ming (flash)
remove swfsprite_remove() Ming (flash)
rewind rewinddir() 基本语法
root domxml_root()  
rotate swfdisplayitem_rotate() Ming (flash)
rotateto swfdisplayitem_rotateTo() Ming (flash)
rotateto swffill_rotateTo() Ming (flash)
save swfmovie_save() Ming (flash)
savetofile swfmovie_saveToFile() Ming (flash)
scale swfdisplayitem_scale() Ming (flash)
scaleto swfdisplayitem_scaleTo() Ming (flash)
scaleto swffill_scaleTo() Ming (flash)
set_attribute domxml_set_attribute()  
set_content domxml_set_content()  
setaction swfbutton_setAction() Ming (flash)
setattr domxml_set_attribute()  
setbackground swfmovie_setBackground() Ming (flash)
setbounds swftextfield_setBounds() Ming (flash)
setcolor swftext_setColor() Ming (flash)
setcolor swftextfield_setColor() Ming (flash)
setdepth swfdisplayitem_setDepth() Ming (flash)
setdimension swfmovie_setDimension() Ming (flash)
setdown swfbutton_setDown() Ming (flash)
setfont swftext_setFont() Ming (flash)
setfont swftextfield_setFont() Ming (flash)
setframes swfmovie_setFrames() Ming (flash)
setframes swfsprite_setFrames() Ming (flash)
setheight swftext_setHeight() Ming (flash)
setheight swftextfield_setHeight() Ming (flash)
sethit swfbutton_setHit() Ming (flash)
setindentation swftextfield_setIndentation() Ming (flash)
setleftfill swfshape_setleftfill() Ming (flash)
setleftmargin swftextfield_setLeftMargin() Ming (flash)
setline swfshape_setline() Ming (flash)
setlinespacing swftextfield_setLineSpacing() Ming (flash)
setmargins swftextfield_setMargins() Ming (flash)
setmatrix swfdisplayitem_setMatrix() Ming (flash)
setname swfdisplayitem_setName() Ming (flash)
setname swftextfield_setName() Ming (flash)
setover swfbutton_setOver() Ming (flash)
setrate swfmovie_setRate() Ming (flash)
setratio swfdisplayitem_setRatio() Ming (flash)
setrightfill swfshape_setrightfill() Ming (flash)
setrightmargin swftextfield_setRightMargin() Ming (flash)
setspacing swftext_setSpacing() Ming (flash)
setup swfbutton_setUp() Ming (flash)
show_source highlight_file () 基本语法
sizeof count() 基本语法
skewx swfdisplayitem_skewX() Ming (flash)
skewxto swfdisplayitem_skewXTo() Ming (flash)
skewxto swffill_skewXTo() Ming (flash)
skewy swfdisplayitem_skewY() Ming (flash)
skewyto swfdisplayitem_skewYTo() Ming (flash)
skewyto swffill_skewYTo() Ming (flash)
snmpwalkoid snmprealwalk() SNMP
strchr strstr() 基本语法
streammp3 swfmovie_streamMp3() Ming (flash)
swfaction swfaction_init() Ming (flash)
swfbitmap swfbitmap_init() Ming (flash)
swfbutton swfbutton_init() Ming (flash)
swffill swffill_init() Ming (flash)
swffont swffont_init() Ming (flash)
swfgradient swfgradient_init() Ming (flash)
swfmorph swfmorph_init() Ming (flash)
swfmovie swfmovie_init() Ming (flash)
swfshape swfshape_init() Ming (flash)
swfsprite swfsprite_init() Ming (flash)
swftext swftext_init() Ming (flash)
swftextfield swftextfield_init() Ming (flash)
unlink domxml_unlink_node()  
xptr_new_context xpath_new_context()
本文标题:PHP函数别名列表 - 服务器教程_服务器技术_服务器知识_vps教程
本文地址:https://www.helloaliyun.com/tutorial/457.html

相关文章

  • CentOS 7 常用命令(系统关机、重启以及登出)

    关机:(系统的关机、重启以及登出 ) # 关闭系统(1)[root@localhost ~]# shutdown -h now # 关闭系统(2)[root@localhost ~]# init 0 # 关闭系统(3)[root@localhost ~]# telinit 0 # 按预定时间关闭系统[root@localhost...

    2019-12-07 服务器教程
  • linux重启命令 reboot与shutdown -r now的区别与联系

    在linux命令中reboot是重新启动,shutdown -r now是立即停止然后重新启动,都说他们两个是一样的,其实是有一定的区别的。shutdown命令可以安全地关闭或重启Linux系统,它在系统关闭之前给系统上的所有登录用户提示一条警告...

    2019-12-07 服务器教程
  • CentOS 7 如何使用命令重启或关机

    安装GNOME的朋友们首先切换到字符界面。切换到字符界面的方法如下: 先登陆进入系统,进入图形化界面,然后按Ctrl+Alt+F6(笔记本的是Ctrl+Alt+shift+Fn),进入字符界面。关机命令:shutdown或poweroffshutdown:shutdown -h now...

    2019-12-07 服务器教程
  • CentOS 7 正确关机重启的命令方法

    linux主要用于服务器领域,而在服务器上执行一项服务是永无止境的,除非遇到特殊情况,否则不会关机。和Windows不同,在linux系统下,很多进程是在后台执行的。在屏幕背后,可能有很多人同时在工作。如果直接按下电源的按钮,其他...

    2019-12-07 服务器教程
  • CentOS下的yum upgrade和yum update区别,没事别乱用!

    说明:生产环境对软件版本和内核版本要求非常精确,别没事有事随便的进行yum update操作!!!!!!!!!yum update: 升级所有包同时也升级软件和系统内核yum upgrade:只升级所有包,不升级软件和系统内核...

    2019-12-07 服务器教程
你可能感兴趣
热门浏览