Lista pseudonimelor funcţiilor
Există câteva funcţii în PHP, pe care puteţi să le apelaţi cu mai multe nume. În unele cazuri nu este vre-un nume preferat dintre aceste câteva, is_int() şi is_integer() sunt la fel de potrivite, de exemplu. Însă sunt şi funcţii care şi-au schimbat numele din cauza curăţirii interfeţelor API, sau din alte motive şi numele vechi sunt păstrate doar pentru a menţine compatibilitatea inversă. De obicei nu este o idee bună de a utiliza astfel de pseudonime, deoarece ele pot fi scoase din uz sau redenumite, ceea ce va duce la un script neportabil. Această listă e oferită celor ce doresc să-şi modernizeze scripturile vechi folosind sintaxa nouă.
Această listă e consistentă pentru PHP 4.0.6.
| Pseudonimul | Funcţia de baza | Extensia utilizată |
|---|---|---|
| _ | gettext() | Gettext |
| add | swfmovie_add() | Ming (flash) |
| add | swfsprite_add() | Ming (flash) |
| add_root | domxml_add_root() | DOM XML |
| 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() | DOM XML |
| children | domxml_children() | DOM XML |
| chop | rtrim() | Sintaxa de bază |
| close | closedir() | Sintaxa de bază |
| com_get | com_propget() | COM |
| com_propset | com_propput() | COM |
| com_set | com_propput() | COM |
| cv_add | ccvs_add() | CCVS |
| cv_auth | ccvs_auth() | CCVS |
| cv_command | ccvs_command() | CCVS |
| cv_count | ccvs_count() | CCVS |
| cv_delete | ccvs_delete() | CCVS |
| cv_done | ccvs_done() | CCVS |
| cv_init | ccvs_init() | CCVS |
| cv_lookup | ccvs_lookup() | CCVS |
| cv_new | ccvs_new() | CCVS |
| cv_report | ccvs_report() | CCVS |
| cv_return | ccvs_return() | CCVS |
| cv_reverse | ccvs_reverse() | CCVS |
| cv_sale | ccvs_sale() | CCVS |
| cv_status | ccvs_status() | CCVS |
| cv_textvalue | ccvs_textvalue() | CCVS |
| cv_void | ccvs_void() | CCVS |
| die | exit() | Funcţii diverse |
| dir | getdir() | Sintaxa de bază |
| diskfreespace | disk_free_space() | Sistemul de fişiere |
| domxml_getattr | domxml_get_attribute() | DOM XML |
| domxml_setattr | domxml_set_attribute() | DOM XML |
| doubleval | floatval() | Sintaxa de bază |
| 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() | DOM XML |
| dumpmem | domxml_dumpmem() | DOM XML |
| fbsql | fbsql_db_query() | FrontBase |
| fputs | fwrite() | Sintaxa de bază |
| get_attribute | domxml_get_attribute() | DOM XML |
| getascent | swffont_getAscent() | Ming (flash) |
| getascent | swftext_getAscent() | Ming (flash) |
| getattr | domxml_get_attribute() | DOM XML |
| 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() | String-uri de mai mulţi baiţi |
| i18n_discover_encoding | mb_detect_encoding() | String-uri de mai mulţi baiţi |
| i18n_http_input | mb_http_input() | String-uri de mai mulţi baiţi |
| i18n_http_output | mb_http_output() | String-uri de mai mulţi baiţi |
| i18n_internal_encoding | mb_internal_encoding() | String-uri de mai mulţi baiţi |
| i18n_ja_jp_hantozen | mb_convert_kana() | String-uri de mai mulţi baiţi |
| i18n_mime_header_decode | mb_decode_mimeheader() | String-uri de mai mulţi baiţi |
| i18n_mime_header_encode | mb_encode_mimeheader() | String-uri de mai mulţi baiţi |
| 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() | Sintaxa de bază |
| is_double | is_float() | Sintaxa de bază |
| is_integer | is_int() | Sintaxa de bază |
| is_long | is_int() | Sintaxa de bază |
| is_real | is_float() | Sintaxa de bază |
| is_writeable | is_writable() | Sintaxa de bază |
| join | implode() | Sintaxa de bază |
| labelframe | swfmovie_labelFrame() | Ming (flash) |
| labelframe | swfsprite_labelFrame() | Ming (flash) |
| last_child | domxml_last_child() | DOM XML |
| lastchild | domxml_last_child() | DOM XML |
| ldap_close | ldap_unbind() | LDAP |
| magic_quotes_runtime | set_magic_quotes_runtime() | Sintaxa de bază |
| mbstrcut | mb_strcut() | String-uri de mai mulţi baiţi |
| mbstrlen | mb_strlen() | String-uri de mai mulţi baiţi |
| mbstrpos | mb_strpos() | String-uri de mai mulţi baiţi |
| mbstrrpos | mb_strrpos() | String-uri de mai mulţi baiţi |
| mbsubstr | mb_substr() | String-uri de mai mulţi baiţi |
| 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 |