string mb_encode_numericentity
(string str, array convmap [, string
encoding])
Warning |
This function is EXPERIMENTAL. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk. |
mb_encode_numericentity() converts specified character codes in string str from HTML numeric character reference to character code. It returns converted string.
array is array specifies code area to convert.
encoding is character encoding.
Example 1. convmap example
|
Example 2. mb_encode_numericentity() example
|
See also: mb_decode_numericentity().