--TEST--
Test get_html_translation_table() function : basic functionality - table as HTML_SPECIALCHARS
--FILE--
--EXPECT--
*** Testing get_html_translation_table() : basic functionality ***
-- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --
array(4) {
["&"]=>
string(5) "&"
[">"]=>
string(4) ">"
["<"]=>
string(4) "<"
["""]=>
string(6) """
}
-- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTES --
array(5) {
["'"]=>
string(6) "'"
["&"]=>
string(5) "&"
[">"]=>
string(4) ">"
["<"]=>
string(4) "<"
["""]=>
string(6) """
}
-- with table = HTML_SPECIALCHARS & quote_style = ENT_NOQUOTES --
array(3) {
["&"]=>
string(5) "&"
[">"]=>
string(4) ">"
["<"]=>
string(4) "<"
}
Done