Doc #76680 [Opn]: Uncertainty in description of html_entity_decode
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
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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
Thread (4 messages)