mb_encode_numericentity Encode character to HTML numeric string reference &reftitle.description; stringmb_encode_numericentity stringstr arrayconvmap stringencodingmb_internal_encoding() boolis_hexFALSE Converts specified character codes in string str from character code to HTML numeric character reference. &reftitle.parameters; str The string being encoded. convmap convmap is array specifies code area to convert. encoding &mbstring.encoding.parameter; is_hex &reftitle.returnvalues; The converted string. &reftitle.changelog; &Version; &Description; 5.4.0 Added is_hex parameter. &reftitle.examples; <parameter>convmap</parameter> example ]]> &reftitle.examples; <function>mb_encode_numericentity</function> example ]]> &reftitle.seealso; mb_decode_numericentity