Doc #61062 [Asn->Csd]: no explanation given about parameter $convmap in mb_decode_numericentity()
| From: | yohgaki@php.net | Date: | Fri, 18 Dec 2015 10:03:48 +0000 |
| Subject: | Doc #61062 [Asn->Csd]: no explanation given about parameter $convmap in mb_decode_numericentity() | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12955@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61062&edit=1
ID: 61062
Updated by: yohgaki@php.net
Reported by: matteosistisette at gmail dot com
Summary: no explanation given about parameter $convmap in
mb_decode_numericentity()
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Assigned To: yohgaki
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2015-12-18 09:47:01] yohgaki@php.net
Automatic comment from SVN on behalf of yohgaki
Revision: http://svn.php.net/viewvc/?view=revision&revision=338291
Log: Fix bug #61062 no explanation given about parameter $convmap in mb_decode_numericentity().
Example code is taken from my blog. http://blog.ohgaki.net/javascript-string-escape
------------------------------------------------------------------------
[2012-02-12 20:10:21] matteosistisette at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.mb-decode-numericentity#refsect1-
function.mb-decode-numericentity-parameters
---
There is no explanation about how one should fill in the $convmap parameter.
There is only a very cryptic example.
A thorough explanation should be given of how many elements the array should
contain and what exactly is the meaning of each ones. It is not obvious at all
and pretty hard to figure out from the given example.
Maybe it is explained somewhere else in the docs in another function's reference.
If so a link or pointer should be given.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61062&edit=1