mb_decode_numericentity
PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8
mb_decode_numericentity - Decode HTML numeric string reference to character
mb_decode_numericentity(
string$string,
array$map,
[string|null$encoding = null] ): string
Convert numeric string reference of string string in a specified block to character.
Parameters
- string
-
The string being decoded.
- map
-
map is an array that specifies the code area to convert.
- encoding
-
The encoding parameter is the character encoding. If it is omitted or null, the internal character encoding value will be used.
- is_hex
-
This parameter is not used.
Return Values
The converted string.
Changelog
Version | Description |
8.0.0 | encoding is nullable now. |