php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #61062 no explanation given about parameter $convmap in mb_decode_numericentity()
Submitted: 2012-02-12 20:10 UTC Modified: 2015-12-18 10:03 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: matteosistisette at gmail dot com Assigned: yohgaki (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2012-02-12 20:10 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-07-13 02:47 UTC] yohgaki@php.net
-Assigned To: +Assigned To: yohgaki
 [2015-12-18 09:47 UTC] 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
 [2015-12-18 10:03 UTC] yohgaki@php.net
-Status: Assigned +Status: Closed
 [2020-02-07 06:07 UTC] phpdocbot@php.net
Automatic comment on behalf of yohgaki
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=5dce0583cecbd538272daf7e24c7cf1cf841dffa
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 11:01:28 2024 UTC