mb_encode_numericentity Encode character to HTML numeric string reference &reftitle.description; stringmb_encode_numericentity stringstring arraymap stringnullencoding&null; boolhex&false; Converts specified character codes in string string from character code to HTML numeric character reference. &reftitle.parameters; string The string being encoded. map map is array specifies code area to convert. encoding &mbstring.encoding.parameter; hex Whether the returned entity reference should be in hexadecimal notation (otherwise it is in decimal notation). &reftitle.returnvalues; The converted string. &reftitle.changelog; &Version; &Description; &mbstring.changelog.encoding-nullable; &reftitle.examples; <parameter>map</parameter> example ]]> <function>mb_encode_numericentity</function> example ]]> &reftitle.seealso; mb_decode_numericentity