--TEST--
Temporary test of mbstring's HTML-ENTITIES 'encoding'
--EXTENSIONS--
mbstring
--FILE--
', '&<>');
convertFromEntities('"', '"');
convertFromEntities("\xC3\xAC", 'ì');
convertFromEntities('あ', 'あ');
testConversion('あ', 'あ');
testConversion('abcあxyz', 'abcあxyz');
convertFromEntities('', '');
convertFromEntities('', '');
convertFromEntities('', '');
convertFromEntities('&', '&');
convertFromEntities("\x00", '');
testConversion(str_repeat('あ', 100), str_repeat('あ', 100));
convertFromEntities("&;", "&;");
convertFromEntities("&f;", "&f;");
convertFromEntities("&A", "&A");
convertFromEntities("&A", "&A");
echo "Done!\n";
?>
--EXPECTF--
Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in %s
Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in %s
Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in %s
Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in %s
Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in %s
Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in %s
Done!