PHPDocWiki : howto/whatdocument

What to Document


For example mysql_db_name and mysql_dbname will be documented as the same function, with the latter being listed as an alias of the former, while show_source and highlight_file will be documented as two different functions (one as an alias), as the names are completely different, and one name is not likely to be found if looking for the name of the other.
Note: It is up to the PHP developers to give names to functions. A PHP documentation writer only uses the name provided to document the function. If you think that a function name is not appropriate, open a discussion on the internals@lists.php.net list, by sending a mail to that address.
Good: mcrypt_enc_self_test, mysql_list_fields
OK: mcrypt_module_get_algo_supported_key_sizes (could be mcrypt_mod_get_algo_sup_key_sizes?), get_html_translation_table (could be html_get_trans_table?)
Bad: hw_GetObjectByQueryCollObj, pg_setclientencoding