--TEST--
Test get_html_translation_table() function : basic functionality - with default args
--FILE--
--EXPECT--
*** Testing get_html_translation_table() : basic functionality ***
-- with table = HTML_ENTITIES --
array(252) {
["Æ"]=>
string(7) "Æ"
["Á"]=>
string(8) "Á"
["Â"]=>
string(7) "Â"
["À"]=>
string(8) "À"
["Α"]=>
string(7) "Α"
["Å"]=>
string(7) "Å"
["Ã"]=>
string(8) "Ã"
["Ä"]=>
string(6) "Ä"
["Β"]=>
string(6) "Β"
["Ç"]=>
string(8) "Ç"
["Χ"]=>
string(5) "Χ"
["‡"]=>
string(8) "‡"
["Δ"]=>
string(7) "Δ"
["Ð"]=>
string(5) "Ð"
["É"]=>
string(8) "É"
["Ê"]=>
string(7) "Ê"
["È"]=>
string(8) "È"
["Ε"]=>
string(9) "Ε"
["Η"]=>
string(5) "Η"
["Ë"]=>
string(6) "Ë"
["Γ"]=>
string(7) "Γ"
["Í"]=>
string(8) "Í"
["Î"]=>
string(7) "Î"
["Ì"]=>
string(8) "Ì"
["Ι"]=>
string(6) "Ι"
["Ï"]=>
string(6) "Ï"
["Κ"]=>
string(7) "Κ"
["Λ"]=>
string(8) "Λ"
["Μ"]=>
string(4) "Μ"
["Ñ"]=>
string(8) "Ñ"
["Ν"]=>
string(4) "Ν"
["Œ"]=>
string(7) "Œ"
["Ó"]=>
string(8) "Ó"
["Ô"]=>
string(7) "Ô"
["Ò"]=>
string(8) "Ò"
["Ω"]=>
string(7) "Ω"
["Ο"]=>
string(9) "Ο"
["Ø"]=>
string(8) "Ø"
["Õ"]=>
string(8) "Õ"
["Ö"]=>
string(6) "Ö"
["Φ"]=>
string(5) "Φ"
["Π"]=>
string(4) "Π"
["″"]=>
string(7) "″"
["Ψ"]=>
string(5) "Ψ"
["Ρ"]=>
string(5) "Ρ"
["Š"]=>
string(8) "Š"
["Σ"]=>
string(7) "Σ"
["Þ"]=>
string(7) "Þ"
["Τ"]=>
string(5) "Τ"
["Θ"]=>
string(7) "Θ"
["Ú"]=>
string(8) "Ú"
["Û"]=>
string(7) "Û"
["Ù"]=>
string(8) "Ù"
["Υ"]=>
string(9) "Υ"
["Ü"]=>
string(6) "Ü"
["Ξ"]=>
string(4) "Ξ"
["Ý"]=>
string(8) "Ý"
["Ÿ"]=>
string(6) "Ÿ"
["Ζ"]=>
string(6) "Ζ"
["á"]=>
string(8) "á"
["â"]=>
string(7) "â"
["´"]=>
string(7) "´"
["æ"]=>
string(7) "æ"
["à"]=>
string(8) "à"
["ℵ"]=>
string(9) "ℵ"
["α"]=>
string(7) "α"
["&"]=>
string(5) "&"
["∧"]=>
string(5) "∧"
["∠"]=>
string(5) "∠"
["å"]=>
string(7) "å"
["≈"]=>
string(7) "≈"
["ã"]=>
string(8) "ã"
["ä"]=>
string(6) "ä"
["„"]=>
string(7) "„"
["β"]=>
string(6) "β"
["¦"]=>
string(8) "¦"
["•"]=>
string(6) "•"
["∩"]=>
string(5) "∩"
["ç"]=>
string(8) "ç"
["¸"]=>
string(7) "¸"
["¢"]=>
string(6) "¢"
["χ"]=>
string(5) "χ"
["ˆ"]=>
string(6) "ˆ"
["♣"]=>
string(7) "♣"
["≅"]=>
string(6) "≅"
["©"]=>
string(6) "©"
["↵"]=>
string(7) "↵"
["∪"]=>
string(5) "∪"
["¤"]=>
string(8) "¤"
["⇓"]=>
string(6) "⇓"
["†"]=>
string(8) "†"
["↓"]=>
string(6) "↓"
["°"]=>
string(5) "°"
["δ"]=>
string(7) "δ"
["♦"]=>
string(7) "♦"
["÷"]=>
string(8) "÷"
["é"]=>
string(8) "é"
["ê"]=>
string(7) "ê"
["è"]=>
string(8) "è"
["∅"]=>
string(7) "∅"
[" "]=>
string(6) " "
[" "]=>
string(6) " "
["ε"]=>
string(9) "ε"
["≡"]=>
string(7) "≡"
["η"]=>
string(5) "η"
["ð"]=>
string(5) "ð"
["ë"]=>
string(6) "ë"
["€"]=>
string(6) "€"
["∃"]=>
string(7) "∃"
["ƒ"]=>
string(6) "ƒ"
["∀"]=>
string(8) "∀"
["½"]=>
string(8) "½"
["¼"]=>
string(8) "¼"
["¾"]=>
string(8) "¾"
["⁄"]=>
string(7) "⁄"
["γ"]=>
string(7) "γ"
["≥"]=>
string(4) "≥"
[">"]=>
string(4) ">"
["⇔"]=>
string(6) "⇔"
["↔"]=>
string(6) "↔"
["♥"]=>
string(8) "♥"
["…"]=>
string(8) "…"
["í"]=>
string(8) "í"
["î"]=>
string(7) "î"
["¡"]=>
string(7) "¡"
["ì"]=>
string(8) "ì"
["ℑ"]=>
string(7) "ℑ"
["∞"]=>
string(7) "∞"
["∫"]=>
string(5) "∫"
["ι"]=>
string(6) "ι"
["¿"]=>
string(8) "¿"
["∈"]=>
string(6) "∈"
["ï"]=>
string(6) "ï"
["κ"]=>
string(7) "κ"
["⇐"]=>
string(6) "⇐"
["λ"]=>
string(8) "λ"
["〈"]=>
string(6) "〈"
["«"]=>
string(7) "«"
["←"]=>
string(6) "←"
["⌈"]=>
string(7) "⌈"
["“"]=>
string(7) "“"
["≤"]=>
string(4) "≤"
["⌊"]=>
string(8) "⌊"
["∗"]=>
string(8) "∗"
["◊"]=>
string(5) "◊"
[""]=>
string(5) ""
["‹"]=>
string(8) "‹"
["‘"]=>
string(7) "‘"
["<"]=>
string(4) "<"
["¯"]=>
string(6) "¯"
["—"]=>
string(7) "—"
["µ"]=>
string(7) "µ"
["·"]=>
string(8) "·"
["−"]=>
string(7) "−"
["μ"]=>
string(4) "μ"
["∇"]=>
string(7) "∇"
[" "]=>
string(6) " "
["–"]=>
string(7) "–"
["≠"]=>
string(4) "≠"
["∋"]=>
string(4) "∋"
["¬"]=>
string(5) "¬"
["∉"]=>
string(7) "∉"
["⊄"]=>
string(6) "⊄"
["ñ"]=>
string(8) "ñ"
["ν"]=>
string(4) "ν"
["ó"]=>
string(8) "ó"
["ô"]=>
string(7) "ô"
["œ"]=>
string(7) "œ"
["ò"]=>
string(8) "ò"
["‾"]=>
string(7) "‾"
["ω"]=>
string(7) "ω"
["ο"]=>
string(9) "ο"
["⊕"]=>
string(7) "⊕"
["∨"]=>
string(4) "∨"
["ª"]=>
string(6) "ª"
["º"]=>
string(6) "º"
["ø"]=>
string(8) "ø"
["õ"]=>
string(8) "õ"
["⊗"]=>
string(8) "⊗"
["ö"]=>
string(6) "ö"
["¶"]=>
string(6) "¶"
["∂"]=>
string(6) "∂"
["‰"]=>
string(8) "‰"
["⊥"]=>
string(6) "⊥"
["φ"]=>
string(5) "φ"
["π"]=>
string(4) "π"
["ϖ"]=>
string(5) "ϖ"
["±"]=>
string(8) "±"
["£"]=>
string(7) "£"
["′"]=>
string(7) "′"
["∏"]=>
string(6) "∏"
["∝"]=>
string(6) "∝"
["ψ"]=>
string(5) "ψ"
["""]=>
string(6) """
["⇒"]=>
string(6) "⇒"
["√"]=>
string(7) "√"
["〉"]=>
string(6) "〉"
["»"]=>
string(7) "»"
["→"]=>
string(6) "→"
["⌉"]=>
string(7) "⌉"
["”"]=>
string(7) "”"
["ℜ"]=>
string(6) "ℜ"
["®"]=>
string(5) "®"
["⌋"]=>
string(8) "⌋"
["ρ"]=>
string(5) "ρ"
[""]=>
string(5) ""
["›"]=>
string(8) "›"
["’"]=>
string(7) "’"
["‚"]=>
string(7) "‚"
["š"]=>
string(8) "š"
["⋅"]=>
string(6) "⋅"
["§"]=>
string(6) "§"
[""]=>
string(5) ""
["σ"]=>
string(7) "σ"
["ς"]=>
string(8) "ς"
["∼"]=>
string(5) "∼"
["♠"]=>
string(8) "♠"
["⊂"]=>
string(5) "⊂"
["⊆"]=>
string(6) "⊆"
["∑"]=>
string(5) "∑"
["¹"]=>
string(6) "¹"
["²"]=>
string(6) "²"
["³"]=>
string(6) "³"
["⊃"]=>
string(5) "⊃"
["⊇"]=>
string(6) "⊇"
["ß"]=>
string(7) "ß"
["τ"]=>
string(5) "τ"
["∴"]=>
string(8) "∴"
["θ"]=>
string(7) "θ"
["ϑ"]=>
string(10) "ϑ"
[" "]=>
string(8) " "
["þ"]=>
string(7) "þ"
["˜"]=>
string(7) "˜"
["×"]=>
string(7) "×"
["™"]=>
string(7) "™"
["⇑"]=>
string(6) "⇑"
["ú"]=>
string(8) "ú"
["↑"]=>
string(6) "↑"
["û"]=>
string(7) "û"
["ù"]=>
string(8) "ù"
["¨"]=>
string(5) "¨"
["ϒ"]=>
string(7) "ϒ"
["υ"]=>
string(9) "υ"
["ü"]=>
string(6) "ü"
["℘"]=>
string(8) "℘"
["ξ"]=>
string(4) "ξ"
["ý"]=>
string(8) "ý"
["¥"]=>
string(5) "¥"
["ÿ"]=>
string(6) "ÿ"
["ζ"]=>
string(6) "ζ"
[""]=>
string(5) ""
[""]=>
string(6) ""
}
-- with table = HTML_SPECIALCHARS --
array(4) {
["&"]=>
string(5) "&"
[">"]=>
string(4) ">"
["<"]=>
string(4) "<"
["""]=>
string(6) """
}
Done