|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-05-15 21:46 UTC] salathe@php.net
[2013-12-30 06:58 UTC] bjori@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: bjori
[2013-12-30 06:58 UTC] bjori@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 10:00:01 2025 UTC |
Description: ------------ When rendering <function> tags, a space is added before the anchor tag. This was a deliberate choice (see comment below) but affects areas other than the function/method synopsis. The Package_PHP_XHTML::format_function() method says: // Leading space intional for methodname as phpdoc doesn't have a // space between <type> and the <methodname> in methodsynopsis However, this affects other uses of <methodname> and <function> and is particularly noticeable when the function name is written in parentheses. Examples: mysql_pconnect: "for future use ( mysql_close() will not close links" mysqlnd.stats: "from COM_LIST_FIELD ( mysql_list_fields()) and the" ldap_control_paged_results: "sent by the server ( ldap_control_paged_result_response())." The leading space should be removed. Instead, a space should be added to the rendered HTML only where it is needed: after rendering the <type>, before a <methodname>, in a <methodsynopsis>.