mb_encode_numericentity 文字を HTML 数値エンティティにエンコードする &reftitle.description; stringmb_encode_numericentity stringstring arraymap stringnullencoding&null; boolhex&false; stringの中で指定した文字コードを 文字コードから HTML 数値エンティティに変換します。 &reftitle.parameters; string エンコードする文字列。 map map は、変換するコード領域を指定する配列です。 encoding &mbstring.encoding.parameter; hex 返されたエンティティのリファレンスが16進記法であるべきかどうか (&false; の場合、10進記法です) &reftitle.returnvalues; 変換後の文字列を返します。 &reftitle.errors; map が整数のリストでない場合、 ValueError がスローされます。 &reftitle.changelog; &Version; &Description; 8.4.0 map が整数のリストでない場合、 mb_encode_numericentityValueError をスローするようになりました。 &mbstring.changelog.encoding-nullable; &reftitle.examples; <parameter>map</parameter> の例 ]]> <function>mb_encode_numericentity</function> の例 ]]> &example.outputs; &reftitle.seealso; mb_decode_numericentity