mirror of
https://github.com/php/php-src.git
synced 2024-10-16 22:12:33 +00:00
923 lines
16 KiB
Plaintext
923 lines
16 KiB
Plaintext
|
--TEST--
|
|||
|
Test get_html_translation_table() function : basic functionality - with default args
|
|||
|
--SKIPIF--
|
|||
|
<?php
|
|||
|
if( substr(PHP_OS, 0, 3) == "WIN"){
|
|||
|
die('skip Not for Windows');
|
|||
|
}
|
|||
|
|
|||
|
if( ini_get("unicode.semantics") == "1")
|
|||
|
die('skip do not run when unicode on');
|
|||
|
|
|||
|
if( !setlocale(LC_ALL, "en_US.UTF-8") ) {
|
|||
|
die('skip failed to set locale settings to "en-US.UTF-8"');
|
|||
|
}
|
|||
|
?>
|
|||
|
--FILE--
|
|||
|
<?php
|
|||
|
/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style]] )
|
|||
|
* Description: Returns the internal translation table used by htmlspecialchars and htmlentities
|
|||
|
* Source code: ext/standard/html.c
|
|||
|
*/
|
|||
|
|
|||
|
/* Test get_html_translation_table() when table is specified as HTML_ENTITIES */
|
|||
|
|
|||
|
//set locale to en_US.UTF-8
|
|||
|
setlocale(LC_ALL, "en_US.UTF-8");
|
|||
|
|
|||
|
echo "*** Testing get_html_translation_table() : basic functionality ***\n";
|
|||
|
|
|||
|
// Calling get_html_translation_table() with default arguments
|
|||
|
echo "-- with default arguments --\n";
|
|||
|
var_dump( get_html_translation_table() );
|
|||
|
|
|||
|
// Calling get_html_translation_table() with all possible optional arguments
|
|||
|
echo "-- with table = HTML_ENTITIES --\n";
|
|||
|
$table = HTML_ENTITIES;
|
|||
|
var_dump( get_html_translation_table($table) );
|
|||
|
|
|||
|
echo "-- with table = HTML_SPECIALCHARS --\n";
|
|||
|
$table = HTML_SPECIALCHARS;
|
|||
|
var_dump( get_html_translation_table($table) );
|
|||
|
|
|||
|
echo "Done\n";
|
|||
|
?>
|
|||
|
--EXPECTF--
|
|||
|
*** Testing get_html_translation_table() : basic functionality ***
|
|||
|
-- with default arguments --
|
|||
|
array(4) {
|
|||
|
["""]=>
|
|||
|
string(6) """
|
|||
|
["<"]=>
|
|||
|
string(4) "<"
|
|||
|
[">"]=>
|
|||
|
string(4) ">"
|
|||
|
["&"]=>
|
|||
|
string(5) "&"
|
|||
|
}
|
|||
|
-- with table = HTML_ENTITIES --
|
|||
|
array(100) {
|
|||
|
["<22>"]=>
|
|||
|
string(6) " "
|
|||
|
["<22>"]=>
|
|||
|
string(7) "¡"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "¢"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "£"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "¤"
|
|||
|
["<22>"]=>
|
|||
|
string(5) "¥"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "¦"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "§"
|
|||
|
["<22>"]=>
|
|||
|
string(5) "¨"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "©"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "ª"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "«"
|
|||
|
["<22>"]=>
|
|||
|
string(5) "¬"
|
|||
|
["<22>"]=>
|
|||
|
string(5) "­"
|
|||
|
["<22>"]=>
|
|||
|
string(5) "®"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "¯"
|
|||
|
["<22>"]=>
|
|||
|
string(5) "°"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "±"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "²"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "³"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "´"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "µ"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "¶"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "·"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "¸"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "¹"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "º"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "»"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "¼"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "½"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "¾"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "¿"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "À"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "Á"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "Â"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "Ã"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "Ä"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "Å"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "Æ"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "Ç"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "È"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "É"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "Ê"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "Ë"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "Ì"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "Í"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "Î"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "Ï"
|
|||
|
["<22>"]=>
|
|||
|
string(5) "Ð"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "Ñ"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "Ò"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "Ó"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "Ô"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "Õ"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "Ö"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "×"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "Ø"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "Ù"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "Ú"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "Û"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "Ü"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "Ý"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "Þ"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "ß"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "à"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "á"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "â"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "ã"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "ä"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "å"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "æ"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "ç"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "è"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "é"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "ê"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "ë"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "ì"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "í"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "î"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "ï"
|
|||
|
["<22>"]=>
|
|||
|
string(5) "ð"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "ñ"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "ò"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "ó"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "ô"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "õ"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "ö"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "÷"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "ø"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "ù"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "ú"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "û"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "ü"
|
|||
|
["<22>"]=>
|
|||
|
string(8) "ý"
|
|||
|
["<22>"]=>
|
|||
|
string(7) "þ"
|
|||
|
["<22>"]=>
|
|||
|
string(6) "ÿ"
|
|||
|
["""]=>
|
|||
|
string(6) """
|
|||
|
["<"]=>
|
|||
|
string(4) "<"
|
|||
|
[">"]=>
|
|||
|
string(4) ">"
|
|||
|
["&"]=>
|
|||
|
string(5) "&"
|
|||
|
}
|
|||
|
-- with table = HTML_SPECIALCHARS --
|
|||
|
array(4) {
|
|||
|
["""]=>
|
|||
|
string(6) """
|
|||
|
["<"]=>
|
|||
|
string(4) "<"
|
|||
|
[">"]=>
|
|||
|
string(4) ">"
|
|||
|
["&"]=>
|
|||
|
string(5) "&"
|
|||
|
}
|
|||
|
Done
|
|||
|
--UEXPECTF--
|
|||
|
*** Testing get_html_translation_table() : basic functionality ***
|
|||
|
-- with default arguments --
|
|||
|
array(4) {
|
|||
|
[u"""]=>
|
|||
|
unicode(6) """
|
|||
|
[u"<"]=>
|
|||
|
unicode(4) "<"
|
|||
|
[u">"]=>
|
|||
|
unicode(4) ">"
|
|||
|
[u"&"]=>
|
|||
|
unicode(5) "&"
|
|||
|
}
|
|||
|
-- with table = HTML_ENTITIES --
|
|||
|
array(311) {
|
|||
|
[u" "]=>
|
|||
|
unicode(6) " "
|
|||
|
[u"¡"]=>
|
|||
|
unicode(7) "¡"
|
|||
|
[u"¢"]=>
|
|||
|
unicode(6) "¢"
|
|||
|
[u"£"]=>
|
|||
|
unicode(7) "£"
|
|||
|
[u"¤"]=>
|
|||
|
unicode(8) "¤"
|
|||
|
[u"¥"]=>
|
|||
|
unicode(5) "¥"
|
|||
|
[u"¦"]=>
|
|||
|
unicode(8) "¦"
|
|||
|
[u"§"]=>
|
|||
|
unicode(6) "§"
|
|||
|
[u"¨"]=>
|
|||
|
unicode(5) "¨"
|
|||
|
[u"©"]=>
|
|||
|
unicode(6) "©"
|
|||
|
[u"ª"]=>
|
|||
|
unicode(6) "ª"
|
|||
|
[u"«"]=>
|
|||
|
unicode(7) "«"
|
|||
|
[u"¬"]=>
|
|||
|
unicode(5) "¬"
|
|||
|
[u""]=>
|
|||
|
unicode(5) "­"
|
|||
|
[u"®"]=>
|
|||
|
unicode(5) "®"
|
|||
|
[u"¯"]=>
|
|||
|
unicode(6) "¯"
|
|||
|
[u"°"]=>
|
|||
|
unicode(5) "°"
|
|||
|
[u"±"]=>
|
|||
|
unicode(8) "±"
|
|||
|
[u"²"]=>
|
|||
|
unicode(6) "²"
|
|||
|
[u"³"]=>
|
|||
|
unicode(6) "³"
|
|||
|
[u"´"]=>
|
|||
|
unicode(7) "´"
|
|||
|
[u"µ"]=>
|
|||
|
unicode(7) "µ"
|
|||
|
[u"¶"]=>
|
|||
|
unicode(6) "¶"
|
|||
|
[u"·"]=>
|
|||
|
unicode(8) "·"
|
|||
|
[u"¸"]=>
|
|||
|
unicode(7) "¸"
|
|||
|
[u"¹"]=>
|
|||
|
unicode(6) "¹"
|
|||
|
[u"º"]=>
|
|||
|
unicode(6) "º"
|
|||
|
[u"»"]=>
|
|||
|
unicode(7) "»"
|
|||
|
[u"¼"]=>
|
|||
|
unicode(8) "¼"
|
|||
|
[u"½"]=>
|
|||
|
unicode(8) "½"
|
|||
|
[u"¾"]=>
|
|||
|
unicode(8) "¾"
|
|||
|
[u"¿"]=>
|
|||
|
unicode(8) "¿"
|
|||
|
[u"À"]=>
|
|||
|
unicode(8) "À"
|
|||
|
[u"Á"]=>
|
|||
|
unicode(8) "Á"
|
|||
|
[u"Â"]=>
|
|||
|
unicode(7) "Â"
|
|||
|
[u"Ã"]=>
|
|||
|
unicode(8) "Ã"
|
|||
|
[u"Ä"]=>
|
|||
|
unicode(6) "Ä"
|
|||
|
[u"Å"]=>
|
|||
|
unicode(7) "Å"
|
|||
|
[u"Æ"]=>
|
|||
|
unicode(7) "Æ"
|
|||
|
[u"Ç"]=>
|
|||
|
unicode(8) "Ç"
|
|||
|
[u"È"]=>
|
|||
|
unicode(8) "È"
|
|||
|
[u"É"]=>
|
|||
|
unicode(8) "É"
|
|||
|
[u"Ê"]=>
|
|||
|
unicode(7) "Ê"
|
|||
|
[u"Ë"]=>
|
|||
|
unicode(6) "Ë"
|
|||
|
[u"Ì"]=>
|
|||
|
unicode(8) "Ì"
|
|||
|
[u"Í"]=>
|
|||
|
unicode(8) "Í"
|
|||
|
[u"Î"]=>
|
|||
|
unicode(7) "Î"
|
|||
|
[u"Ï"]=>
|
|||
|
unicode(6) "Ï"
|
|||
|
[u"Ð"]=>
|
|||
|
unicode(5) "Ð"
|
|||
|
[u"Ñ"]=>
|
|||
|
unicode(8) "Ñ"
|
|||
|
[u"Ò"]=>
|
|||
|
unicode(8) "Ò"
|
|||
|
[u"Ó"]=>
|
|||
|
unicode(8) "Ó"
|
|||
|
[u"Ô"]=>
|
|||
|
unicode(7) "Ô"
|
|||
|
[u"Õ"]=>
|
|||
|
unicode(8) "Õ"
|
|||
|
[u"Ö"]=>
|
|||
|
unicode(6) "Ö"
|
|||
|
[u"×"]=>
|
|||
|
unicode(7) "×"
|
|||
|
[u"Ø"]=>
|
|||
|
unicode(8) "Ø"
|
|||
|
[u"Ù"]=>
|
|||
|
unicode(8) "Ù"
|
|||
|
[u"Ú"]=>
|
|||
|
unicode(8) "Ú"
|
|||
|
[u"Û"]=>
|
|||
|
unicode(7) "Û"
|
|||
|
[u"Ü"]=>
|
|||
|
unicode(6) "Ü"
|
|||
|
[u"Ý"]=>
|
|||
|
unicode(8) "Ý"
|
|||
|
[u"Þ"]=>
|
|||
|
unicode(7) "Þ"
|
|||
|
[u"ß"]=>
|
|||
|
unicode(7) "ß"
|
|||
|
[u"à"]=>
|
|||
|
unicode(8) "à"
|
|||
|
[u"á"]=>
|
|||
|
unicode(8) "á"
|
|||
|
[u"â"]=>
|
|||
|
unicode(7) "â"
|
|||
|
[u"ã"]=>
|
|||
|
unicode(8) "ã"
|
|||
|
[u"ä"]=>
|
|||
|
unicode(6) "ä"
|
|||
|
[u"å"]=>
|
|||
|
unicode(7) "å"
|
|||
|
[u"æ"]=>
|
|||
|
unicode(7) "æ"
|
|||
|
[u"ç"]=>
|
|||
|
unicode(8) "ç"
|
|||
|
[u"è"]=>
|
|||
|
unicode(8) "è"
|
|||
|
[u"é"]=>
|
|||
|
unicode(8) "é"
|
|||
|
[u"ê"]=>
|
|||
|
unicode(7) "ê"
|
|||
|
[u"ë"]=>
|
|||
|
unicode(6) "ë"
|
|||
|
[u"ì"]=>
|
|||
|
unicode(8) "ì"
|
|||
|
[u"í"]=>
|
|||
|
unicode(8) "í"
|
|||
|
[u"î"]=>
|
|||
|
unicode(7) "î"
|
|||
|
[u"ï"]=>
|
|||
|
unicode(6) "ï"
|
|||
|
[u"ð"]=>
|
|||
|
unicode(5) "ð"
|
|||
|
[u"ñ"]=>
|
|||
|
unicode(8) "ñ"
|
|||
|
[u"ò"]=>
|
|||
|
unicode(8) "ò"
|
|||
|
[u"ó"]=>
|
|||
|
unicode(8) "ó"
|
|||
|
[u"ô"]=>
|
|||
|
unicode(7) "ô"
|
|||
|
[u"õ"]=>
|
|||
|
unicode(8) "õ"
|
|||
|
[u"ö"]=>
|
|||
|
unicode(6) "ö"
|
|||
|
[u"÷"]=>
|
|||
|
unicode(8) "÷"
|
|||
|
[u"ø"]=>
|
|||
|
unicode(8) "ø"
|
|||
|
[u"ù"]=>
|
|||
|
unicode(8) "ù"
|
|||
|
[u"ú"]=>
|
|||
|
unicode(8) "ú"
|
|||
|
[u"û"]=>
|
|||
|
unicode(7) "û"
|
|||
|
[u"ü"]=>
|
|||
|
unicode(6) "ü"
|
|||
|
[u"ý"]=>
|
|||
|
unicode(8) "ý"
|
|||
|
[u"þ"]=>
|
|||
|
unicode(7) "þ"
|
|||
|
[u"ÿ"]=>
|
|||
|
unicode(6) "ÿ"
|
|||
|
[u"Œ"]=>
|
|||
|
unicode(7) "Œ"
|
|||
|
[u"œ"]=>
|
|||
|
unicode(7) "œ"
|
|||
|
[u"Š"]=>
|
|||
|
unicode(8) "Š"
|
|||
|
[u"š"]=>
|
|||
|
unicode(8) "š"
|
|||
|
[u"Ÿ"]=>
|
|||
|
unicode(6) "Ÿ"
|
|||
|
[u"ƒ"]=>
|
|||
|
unicode(6) "ƒ"
|
|||
|
[u"ˆ"]=>
|
|||
|
unicode(6) "ˆ"
|
|||
|
[u"˜"]=>
|
|||
|
unicode(7) "˜"
|
|||
|
[u"Α"]=>
|
|||
|
unicode(7) "Α"
|
|||
|
[u"Β"]=>
|
|||
|
unicode(6) "Β"
|
|||
|
[u"Γ"]=>
|
|||
|
unicode(7) "Γ"
|
|||
|
[u"Δ"]=>
|
|||
|
unicode(7) "Δ"
|
|||
|
[u"Ε"]=>
|
|||
|
unicode(9) "Ε"
|
|||
|
[u"Ζ"]=>
|
|||
|
unicode(6) "Ζ"
|
|||
|
[u"Η"]=>
|
|||
|
unicode(5) "Η"
|
|||
|
[u"Θ"]=>
|
|||
|
unicode(7) "Θ"
|
|||
|
[u"Ι"]=>
|
|||
|
unicode(6) "Ι"
|
|||
|
[u"Κ"]=>
|
|||
|
unicode(7) "Κ"
|
|||
|
[u"Λ"]=>
|
|||
|
unicode(8) "Λ"
|
|||
|
[u"Μ"]=>
|
|||
|
unicode(4) "Μ"
|
|||
|
[u"Ν"]=>
|
|||
|
unicode(4) "Ν"
|
|||
|
[u"Ξ"]=>
|
|||
|
unicode(4) "Ξ"
|
|||
|
[u"Ο"]=>
|
|||
|
unicode(9) "Ο"
|
|||
|
[u"Π"]=>
|
|||
|
unicode(4) "Π"
|
|||
|
[u"Ρ"]=>
|
|||
|
unicode(5) "Ρ"
|
|||
|
[u"Σ"]=>
|
|||
|
unicode(7) "Σ"
|
|||
|
[u"Τ"]=>
|
|||
|
unicode(5) "Τ"
|
|||
|
[u"Υ"]=>
|
|||
|
unicode(9) "Υ"
|
|||
|
[u"Φ"]=>
|
|||
|
unicode(5) "Φ"
|
|||
|
[u"Χ"]=>
|
|||
|
unicode(5) "Χ"
|
|||
|
[u"Ψ"]=>
|
|||
|
unicode(5) "Ψ"
|
|||
|
[u"Ω"]=>
|
|||
|
unicode(7) "Ω"
|
|||
|
[u"α"]=>
|
|||
|
unicode(7) "α"
|
|||
|
[u"β"]=>
|
|||
|
unicode(6) "β"
|
|||
|
[u"γ"]=>
|
|||
|
unicode(7) "γ"
|
|||
|
[u"δ"]=>
|
|||
|
unicode(7) "δ"
|
|||
|
[u"ε"]=>
|
|||
|
unicode(9) "ε"
|
|||
|
[u"ζ"]=>
|
|||
|
unicode(6) "ζ"
|
|||
|
[u"η"]=>
|
|||
|
unicode(5) "η"
|
|||
|
[u"θ"]=>
|
|||
|
unicode(7) "θ"
|
|||
|
[u"ι"]=>
|
|||
|
unicode(6) "ι"
|
|||
|
[u"κ"]=>
|
|||
|
unicode(7) "κ"
|
|||
|
[u"λ"]=>
|
|||
|
unicode(8) "λ"
|
|||
|
[u"μ"]=>
|
|||
|
unicode(4) "μ"
|
|||
|
[u"ν"]=>
|
|||
|
unicode(4) "ν"
|
|||
|
[u"ξ"]=>
|
|||
|
unicode(4) "ξ"
|
|||
|
[u"ο"]=>
|
|||
|
unicode(9) "ο"
|
|||
|
[u"π"]=>
|
|||
|
unicode(4) "π"
|
|||
|
[u"ρ"]=>
|
|||
|
unicode(5) "ρ"
|
|||
|
[u"ς"]=>
|
|||
|
unicode(8) "ς"
|
|||
|
[u"σ"]=>
|
|||
|
unicode(7) "σ"
|
|||
|
[u"τ"]=>
|
|||
|
unicode(5) "τ"
|
|||
|
[u"υ"]=>
|
|||
|
unicode(9) "υ"
|
|||
|
[u"φ"]=>
|
|||
|
unicode(5) "φ"
|
|||
|
[u"χ"]=>
|
|||
|
unicode(5) "χ"
|
|||
|
[u"ψ"]=>
|
|||
|
unicode(5) "ψ"
|
|||
|
[u"ω"]=>
|
|||
|
unicode(7) "ω"
|
|||
|
[u"ϑ"]=>
|
|||
|
unicode(10) "ϑ"
|
|||
|
[u"ϒ"]=>
|
|||
|
unicode(7) "ϒ"
|
|||
|
[u"ϖ"]=>
|
|||
|
unicode(5) "ϖ"
|
|||
|
[u" "]=>
|
|||
|
unicode(6) " "
|
|||
|
[u" "]=>
|
|||
|
unicode(6) " "
|
|||
|
[u" "]=>
|
|||
|
unicode(8) " "
|
|||
|
[u""]=>
|
|||
|
unicode(6) "‌"
|
|||
|
[u""]=>
|
|||
|
unicode(5) "‍"
|
|||
|
[u""]=>
|
|||
|
unicode(5) "‎"
|
|||
|
[u""]=>
|
|||
|
unicode(5) "‏"
|
|||
|
[u"–"]=>
|
|||
|
unicode(7) "–"
|
|||
|
[u"—"]=>
|
|||
|
unicode(7) "—"
|
|||
|
[u"‘"]=>
|
|||
|
unicode(7) "‘"
|
|||
|
[u"’"]=>
|
|||
|
unicode(7) "’"
|
|||
|
[u"‚"]=>
|
|||
|
unicode(7) "‚"
|
|||
|
[u"“"]=>
|
|||
|
unicode(7) "“"
|
|||
|
[u"”"]=>
|
|||
|
unicode(7) "”"
|
|||
|
[u"„"]=>
|
|||
|
unicode(7) "„"
|
|||
|
[u"†"]=>
|
|||
|
unicode(8) "†"
|
|||
|
[u"‡"]=>
|
|||
|
unicode(8) "‡"
|
|||
|
[u"•"]=>
|
|||
|
unicode(6) "•"
|
|||
|
[u"…"]=>
|
|||
|
unicode(8) "…"
|
|||
|
[u"‰"]=>
|
|||
|
unicode(8) "‰"
|
|||
|
[u"′"]=>
|
|||
|
unicode(7) "′"
|
|||
|
[u"″"]=>
|
|||
|
unicode(7) "″"
|
|||
|
[u"‹"]=>
|
|||
|
unicode(8) "‹"
|
|||
|
[u"›"]=>
|
|||
|
unicode(8) "›"
|
|||
|
[u"‾"]=>
|
|||
|
unicode(7) "‾"
|
|||
|
[u"⁄"]=>
|
|||
|
unicode(7) "⁄"
|
|||
|
[u"€"]=>
|
|||
|
unicode(6) "€"
|
|||
|
[u"ℑ"]=>
|
|||
|
unicode(7) "ℑ"
|
|||
|
[u"℘"]=>
|
|||
|
unicode(8) "℘"
|
|||
|
[u"ℜ"]=>
|
|||
|
unicode(6) "ℜ"
|
|||
|
[u"™"]=>
|
|||
|
unicode(7) "™"
|
|||
|
[u"ℵ"]=>
|
|||
|
unicode(9) "ℵ"
|
|||
|
[u"←"]=>
|
|||
|
unicode(6) "←"
|
|||
|
[u"↑"]=>
|
|||
|
unicode(6) "↑"
|
|||
|
[u"→"]=>
|
|||
|
unicode(6) "→"
|
|||
|
[u"↓"]=>
|
|||
|
unicode(6) "↓"
|
|||
|
[u"↔"]=>
|
|||
|
unicode(6) "↔"
|
|||
|
[u"↵"]=>
|
|||
|
unicode(7) "↵"
|
|||
|
[u"⇐"]=>
|
|||
|
unicode(6) "⇐"
|
|||
|
[u"⇑"]=>
|
|||
|
unicode(6) "⇑"
|
|||
|
[u"⇒"]=>
|
|||
|
unicode(6) "⇒"
|
|||
|
[u"⇓"]=>
|
|||
|
unicode(6) "⇓"
|
|||
|
[u"⇔"]=>
|
|||
|
unicode(6) "⇔"
|
|||
|
[u"⇕"]=>
|
|||
|
unicode(6) "⇕"
|
|||
|
[u"⇚"]=>
|
|||
|
unicode(7) "⇚"
|
|||
|
[u"⇛"]=>
|
|||
|
unicode(7) "⇛"
|
|||
|
[u"⇝"]=>
|
|||
|
unicode(7) "↝"
|
|||
|
[u"∀"]=>
|
|||
|
unicode(8) "∀"
|
|||
|
[u"∁"]=>
|
|||
|
unicode(6) "∁"
|
|||
|
[u"∂"]=>
|
|||
|
unicode(6) "∂"
|
|||
|
[u"∃"]=>
|
|||
|
unicode(7) "∃"
|
|||
|
[u"∄"]=>
|
|||
|
unicode(8) "∄"
|
|||
|
[u"∅"]=>
|
|||
|
unicode(7) "∅"
|
|||
|
[u"∇"]=>
|
|||
|
unicode(7) "∇"
|
|||
|
[u"∈"]=>
|
|||
|
unicode(6) "∈"
|
|||
|
[u"∉"]=>
|
|||
|
unicode(7) "∉"
|
|||
|
[u"∊"]=>
|
|||
|
unicode(7) "&epsis;"
|
|||
|
[u"∋"]=>
|
|||
|
unicode(4) "∋"
|
|||
|
[u"∌"]=>
|
|||
|
unicode(7) "∌"
|
|||
|
[u"∍"]=>
|
|||
|
unicode(7) "϶"
|
|||
|
[u"∏"]=>
|
|||
|
unicode(6) "∏"
|
|||
|
[u"∐"]=>
|
|||
|
unicode(8) "∐"
|
|||
|
[u"∑"]=>
|
|||
|
unicode(5) "∑"
|
|||
|
[u"−"]=>
|
|||
|
unicode(7) "−"
|
|||
|
[u"∓"]=>
|
|||
|
unicode(8) "∓"
|
|||
|
[u"∔"]=>
|
|||
|
unicode(8) "∔"
|
|||
|
[u"∖"]=>
|
|||
|
unicode(7) "∖"
|
|||
|
[u"∗"]=>
|
|||
|
unicode(8) "∗"
|
|||
|
[u"∘"]=>
|
|||
|
unicode(8) "∘"
|
|||
|
[u"√"]=>
|
|||
|
unicode(7) "√"
|
|||
|
[u"∝"]=>
|
|||
|
unicode(6) "∝"
|
|||
|
[u"∞"]=>
|
|||
|
unicode(7) "∞"
|
|||
|
[u"∟"]=>
|
|||
|
unicode(7) "&ang90;"
|
|||
|
[u"∠"]=>
|
|||
|
unicode(5) "∠"
|
|||
|
[u"∡"]=>
|
|||
|
unicode(8) "∡"
|
|||
|
[u"∢"]=>
|
|||
|
unicode(8) "∢"
|
|||
|
[u"∣"]=>
|
|||
|
unicode(5) "∣"
|
|||
|
[u"∤"]=>
|
|||
|
unicode(6) "∤"
|
|||
|
[u"∥"]=>
|
|||
|
unicode(5) "∥"
|
|||
|
[u"∦"]=>
|
|||
|
unicode(6) "∦"
|
|||
|
[u"∧"]=>
|
|||
|
unicode(5) "∧"
|
|||
|
[u"∨"]=>
|
|||
|
unicode(4) "∨"
|
|||
|
[u"∩"]=>
|
|||
|
unicode(5) "∩"
|
|||
|
[u"∪"]=>
|
|||
|
unicode(5) "∪"
|
|||
|
[u"∫"]=>
|
|||
|
unicode(5) "∫"
|
|||
|
[u"∮"]=>
|
|||
|
unicode(8) "∮"
|
|||
|
[u"∴"]=>
|
|||
|
unicode(8) "∴"
|
|||
|
[u"∵"]=>
|
|||
|
unicode(8) "∵"
|
|||
|
[u"∼"]=>
|
|||
|
unicode(5) "∼"
|
|||
|
[u"∽"]=>
|
|||
|
unicode(6) "∽"
|
|||
|
[u"≀"]=>
|
|||
|
unicode(8) "≀"
|
|||
|
[u"≁"]=>
|
|||
|
unicode(6) "≁"
|
|||
|
[u"≃"]=>
|
|||
|
unicode(6) "≃"
|
|||
|
[u"≄"]=>
|
|||
|
unicode(7) "≄"
|
|||
|
[u"≅"]=>
|
|||
|
unicode(6) "≅"
|
|||
|
[u"≇"]=>
|
|||
|
unicode(7) "≇"
|
|||
|
[u"≈"]=>
|
|||
|
unicode(7) "≈"
|
|||
|
[u"≉"]=>
|
|||
|
unicode(5) "≉"
|
|||
|
[u"≊"]=>
|
|||
|
unicode(5) "≊"
|
|||
|
[u"≌"]=>
|
|||
|
unicode(7) "≌"
|
|||
|
[u"≍"]=>
|
|||
|
unicode(7) "≈"
|
|||
|
[u"≎"]=>
|
|||
|
unicode(6) "≎"
|
|||
|
[u"≏"]=>
|
|||
|
unicode(7) "≏"
|
|||
|
[u"≠"]=>
|
|||
|
unicode(4) "≠"
|
|||
|
[u"≡"]=>
|
|||
|
unicode(7) "≡"
|
|||
|
[u"≤"]=>
|
|||
|
unicode(4) "≤"
|
|||
|
[u"≥"]=>
|
|||
|
unicode(4) "≥"
|
|||
|
[u"≦"]=>
|
|||
|
unicode(4) "≦"
|
|||
|
[u"≧"]=>
|
|||
|
unicode(4) "≧"
|
|||
|
[u"≨"]=>
|
|||
|
unicode(5) "≨"
|
|||
|
[u"≩"]=>
|
|||
|
unicode(5) "≩"
|
|||
|
[u"≪"]=>
|
|||
|
unicode(4) "≪"
|
|||
|
[u"≫"]=>
|
|||
|
unicode(4) "≫"
|
|||
|
[u"≬"]=>
|
|||
|
unicode(7) "≬"
|
|||
|
[u"≮"]=>
|
|||
|
unicode(5) "≮"
|
|||
|
[u"≯"]=>
|
|||
|
unicode(5) "≯"
|
|||
|
[u"≰"]=>
|
|||
|
unicode(6) "⩽̸"
|
|||
|
[u"≱"]=>
|
|||
|
unicode(6) "⩾̸"
|
|||
|
[u"≲"]=>
|
|||
|
unicode(6) "≲"
|
|||
|
[u"≳"]=>
|
|||
|
unicode(6) "≳"
|
|||
|
[u"≶"]=>
|
|||
|
unicode(4) "≶"
|
|||
|
[u"≷"]=>
|
|||
|
unicode(4) "≷"
|
|||
|
[u"≺"]=>
|
|||
|
unicode(4) "≺"
|
|||
|
[u"≻"]=>
|
|||
|
unicode(4) "≻"
|
|||
|
[u"≼"]=>
|
|||
|
unicode(7) "&cupre;"
|
|||
|
[u"≽"]=>
|
|||
|
unicode(7) "&sscue;"
|
|||
|
[u"≾"]=>
|
|||
|
unicode(7) "≾"
|
|||
|
[u"≿"]=>
|
|||
|
unicode(7) "≿"
|
|||
|
[u"⊀"]=>
|
|||
|
unicode(5) "⊀"
|
|||
|
[u"⊁"]=>
|
|||
|
unicode(5) "⊁"
|
|||
|
[u"⊂"]=>
|
|||
|
unicode(5) "⊂"
|
|||
|
[u"⊃"]=>
|
|||
|
unicode(5) "⊃"
|
|||
|
[u"⊄"]=>
|
|||
|
unicode(6) "⊄"
|
|||
|
[u"⊅"]=>
|
|||
|
unicode(6) "⊅"
|
|||
|
[u"⊆"]=>
|
|||
|
unicode(6) "⊆"
|
|||
|
[u"⊇"]=>
|
|||
|
unicode(6) "⊇"
|
|||
|
[u"⊕"]=>
|
|||
|
unicode(7) "⊕"
|
|||
|
[u"⊗"]=>
|
|||
|
unicode(8) "⊗"
|
|||
|
[u"⊥"]=>
|
|||
|
unicode(6) "⊥"
|
|||
|
[u"⋅"]=>
|
|||
|
unicode(6) "⋅"
|
|||
|
[u"⌈"]=>
|
|||
|
unicode(7) "⌈"
|
|||
|
[u"⌉"]=>
|
|||
|
unicode(7) "⌉"
|
|||
|
[u"⌊"]=>
|
|||
|
unicode(8) "⌊"
|
|||
|
[u"⌋"]=>
|
|||
|
unicode(8) "⌋"
|
|||
|
[u"〈"]=>
|
|||
|
unicode(6) "⟨"
|
|||
|
[u"〉"]=>
|
|||
|
unicode(6) "⟩"
|
|||
|
[u"◊"]=>
|
|||
|
unicode(5) "◊"
|
|||
|
[u"♠"]=>
|
|||
|
unicode(8) "♠"
|
|||
|
[u"♣"]=>
|
|||
|
unicode(7) "♣"
|
|||
|
[u"♥"]=>
|
|||
|
unicode(8) "♥"
|
|||
|
[u"♦"]=>
|
|||
|
unicode(7) "♦"
|
|||
|
[u"""]=>
|
|||
|
unicode(6) """
|
|||
|
[u"<"]=>
|
|||
|
unicode(4) "<"
|
|||
|
[u">"]=>
|
|||
|
unicode(4) ">"
|
|||
|
[u"&"]=>
|
|||
|
unicode(5) "&"
|
|||
|
}
|
|||
|
-- with table = HTML_SPECIALCHARS --
|
|||
|
array(4) {
|
|||
|
[u"""]=>
|
|||
|
unicode(6) """
|
|||
|
[u"<"]=>
|
|||
|
unicode(4) "<"
|
|||
|
[u">"]=>
|
|||
|
unicode(4) ">"
|
|||
|
[u"&"]=>
|
|||
|
unicode(5) "&"
|
|||
|
}
|
|||
|
Done
|