mb_encode_numericentity()
mb_encode_numericentity - Encode character to HTML numeric string reference
Syntax
string mb_encode_numericentity (
string $str,
array $convmap,
string $encoding)
Arguments
- str - The string being encoded.
- convmap - convmap is array specifies code area to convert.
- encoding - The encoding parameter is the character encoding. If it is omitted, the internal character encoding value will be used.
Description
Converts specified character codes in string str from HTML numeric character reference to character code.
Version
PHP 4.0.6, 5
Return value
The converted string.