Home > PHP > Function > Multibyte String > mb_decode_numericentity()

mb_decode_numericentity()

mb_decode_numericentity - Decode HTML numeric string reference to character

Syntax

string mb_decode_numericentity (string $str, array $convmap, string $encoding)

Arguments

  • str - The string being decoded.
  • convmap - convmap is an array that specifies the 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

Convert numeric string reference of string str in a specified block to character.

Version

PHP 4.0.6, 5

Return value

The converted string.