From 5dce0583cecbd538272daf7e24c7cf1cf841dffa Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Fri, 18 Dec 2015 09:46:58 +0000 Subject: [PATCH] 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 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338291 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/mb-decode-numericentity.xml | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/reference/mbstring/functions/mb-decode-numericentity.xml b/reference/mbstring/functions/mb-decode-numericentity.xml index e45247f09f..93eaae35ae 100644 --- a/reference/mbstring/functions/mb-decode-numericentity.xml +++ b/reference/mbstring/functions/mb-decode-numericentity.xml @@ -75,6 +75,75 @@ $convmap = array ( // Add offsetN to value and take bit-wise 'AND' with maskN, // then convert value to numeric string reference. ?> +]]> + + + + + + + <parameter>convmap</parameter> example escapes JavaScript string + +