--TEST--
Test get_html_translation_table() function : basic functionality - HTML 5/Windows-1251
--FILE--
--EXPECT--
*** Testing get_html_translation_table() : basic functionality - HTML 5/Windows-1251 ***
-- with table = HTML_ENTITIES, ENT_COMPAT --
int(157)
Array
(
[ ] => 	
[
] => 

[!] => !
["] => "
[#] => #
[$] => $
[%] => %
[&] => &
[(] => (
[)] => )
[*] => *
[+] => +
[,] => ,
[.] => .
[/] => /
[:] => :
[;] => ;
[<] => <
[=] => =
[>] => >
[?] => ?
[@] => @
[[] => [
[\] => \
[]] => ]
[^] => ^
[_] => _
[`] => `
[fj] => fj
[{] => {
[|] => |
[}] => }
[] => Ђ
[] => Ѓ
[] => ‚
[] => ѓ
[] => „
[] => …
[] => †
[] => ‡
[] => €
[] => ‰
[] => Љ
[] => ‹
[] => Њ
[] => Ќ
[] => Ћ
[] => Џ
[] => ђ
[] => ‘
[] => ’
[] => “
[] => ”
[] => •
[] => –
[] => —
[] => ™
[] => љ
[] => ›
[] => њ
[] => ќ
[] => ћ
[] => џ
[] =>
[] => Ў
[] => ў
[] => Ј
[] => ¤
[] => ¦
[] => §
[] => Ё
[] => ©
[] => Є
[] => «
[] => ¬
[] =>
[] => ®
[] => Ї
[] => °
[] => ±
[] => І
[] => і
[] => µ
[] => ¶
[] => ·
[] => ё
[] => №
[] => є
[] => »
[] => ј
[] => Ѕ
[] => ѕ
[] => ї
[] => А
[] => Б
[] => В
[] => Г
[] => Д
[] => Е
[] => Ж
[] => З
[] => И
[] => Й
[] => К
[] => Л
[] => М
[] => Н
[] => О
[] => П
[] => Р
[] => С
[] => Т
[] => У
[] => Ф
[] => Х
[] => Ц
[] => Ч
[] => Ш
[] => Щ
[] => Ъ
[] => Ы
[] => Ь
[] => Э
[] => Ю
[] => Я
[] => а
[] => б
[] => в
[] => г
[] => д
[] => е
[] => ж
[] => з
[] => и
[] => й
[] => к
[] => л
[] => м
[] => н
[] => о
[] => п
[] => р
[] => с
[] => т
[] => у
[] => ф
[] => х
[] => ц
[] => ч
[] => ш
[] => щ
[] => ъ
[] => ы
[] => ь
[] => э
[] => ю
[] => я
)
-- with table = HTML_ENTITIES, ENT_QUOTES --
int(158)
-- with table = HTML_ENTITIES, ENT_NOQUOTES --
int(156)
-- with table = HTML_SPECIALCHARS, ENT_COMPAT --
int(4)
Array
(
["] => "
[&] => &
[<] => <
[>] => >
)
-- with table = HTML_SPECIALCHARS, ENT_QUOTES --
array(5) {
["""]=>
string(6) """
["&"]=>
string(5) "&"
["'"]=>
string(6) "'"
["<"]=>
string(4) "<"
[">"]=>
string(4) ">"
}
-- with table = HTML_SPECIALCHARS, ENT_NOQUOTES --
array(3) {
["&"]=>
string(5) "&"
["<"]=>
string(4) "<"
[">"]=>
string(4) ">"
}
Done