Re: [PHP-DOC] missing aliases functions From: Egon Schmid ( <email protected>) (( <email protected>))
Date: 03/14/01

Damien Seguy wrote:

> This might a question for those of you who are on this list
> since a year or so...
>
> According to Zend's site (http://www.zend.com/phpfunc/nodoku_alias.php),
> there is a bunch of undocumented functions which are only aliases.
>
> Docs says that, for instance, mysql() is still available for downward
> compatibility, but there is no entry for mysql() function.
>
> Is this done on any purpose?
> I suggest adding those functions, in order to give entry on the manual, and
> explicitely write those functions are obsolets.
>
> If this sounds fine to you, I'll do it.

Don't document aliases. All MySQL functions have since years a correct
name and the aliases could be dropped in the near future. So there is no
need to document it.

-Egon

> Here is a list of function I'm talking about.
>
> mysql -> mysql_db_query
> mysql_createdb -> mysql_create_db
> mysql_dbname -> mysql_result
> mysql_dropdb -> mysql_drop_db
> mysql_fieldflags -> mysql_field_flags
> mysql_fieldlen -> mysql_field_len
> mysql_fieldname -> mysql_field_name
> mysql_fieldtable -> mysql_field_table
> mysql_fieldtype -> mysql_field_type
> mysql_freeresult -> mysql_free_result
> mysql_listdbs -> mysql_list_dbs
> mysql_listfields -> mysql_list_fields
> mysql_listtables -> mysql_list_tables
> mysql_numfields -> mysql_num_fields
> mysql_numrows -> mysql_num_rows
> mysql_selectdb -> mysql_select_db
> pg_clientencoding -> pg_client_encoding
> pg_setclientencoding -> pg_set_client_encoding
> magic_quotes_runtime -> set_magic_quotes_runtime

-- 
SIX Offene Systeme GmbH       ·        Stuttgart  -  Berlin 
Sielminger Straße 63   ·    D-70771 Leinfelden-Echterdingen
Fon +49 711 9909164 · Fax +49 711 9909199 http://www.six.de
Besuchen Sie uns auf der CeBIT 2001,  Halle 6,  Stand F62/4