Doc #76680 [Opn->Csd]: Uncertainty in description of html_entity_decode
| From: | cmb@php.net | Date: | Thu, 02 Aug 2018 22:24:24 +0000 |
| Subject: | Doc #76680 [Opn->Csd]: Uncertainty in description of html_entity_decode | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-15944@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76680&edit=1
ID: 76680
Updated by: cmb@php.net
Reported by: sean at m2mobi dot com
Summary: Uncertainty in description of html_entity_decode
-Status: Open
+Status: Closed
Type: Documentation Problem
-Package: Documentation problem
+Package: Strings related
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2018-08-02 22:23:24] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=345421
Log: Fix #76680: Uncertainty in description of html_entity_decode
------------------------------------------------------------------------
[2018-08-01 09:47:37] sean at m2mobi dot com
I'd say âConvert HTML entities to their corresponding charactersâ is better in this
case.
------------------------------------------------------------------------
[2018-07-31 21:06:35] cmb@php.net
What about âConvert all applicable HTML entities to their
(corresponding) charactersâ or maybe âConvert HTML entities to
their corresponding charactersâ? After all, html_entity_decode()
does not necessarily convert *all* HTML entities.
------------------------------------------------------------------------
[2018-07-30 08:12:38] sean at m2mobi dot com
Description:
------------
in the function description "Convert all HTML entities to their applicable characters"
suggests that no characters could be applicable (or multiple), In my opinion "Convert all HTML
entities to their corresponding characters" would be better, since all HTML entities have
exactly one character they represent
http://php.net/manual/en/function.html-entity-decode.php
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76680&edit=1