Home
last modified time | relevance | path

Searched refs:html_entity_decode (Results 1 – 25 of 26) sorted by relevance

12

/php-src/ext/standard/tests/strings/
H A Dbug53021.phpt7 echo html_entity_decode(""", ENT_NOQUOTES, 'UTF-8'), "\n";
8 echo html_entity_decode(""", ENT_NOQUOTES, 'UTF-8'), "\n";
9 echo html_entity_decode(""", ENT_QUOTES, 'UTF-8'), "\n";
10 echo html_entity_decode(""", ENT_QUOTES, 'UTF-8'), "\n";
11 echo html_entity_decode(""", ENT_COMPAT, 'UTF-8'), "\n";
12 echo html_entity_decode(""", ENT_COMPAT, 'UTF-8'), "\n";
13 echo html_entity_decode("""), "\n";
14 echo html_entity_decode("""), "\n";
18 echo html_entity_decode("'", ENT_QUOTES, 'UTF-8'), "\n";
19 echo html_entity_decode("'", ENT_COMPAT, 'UTF-8'), "\n";
[all …]
H A Dhtml_entity_decode2.phpt2 html_entity_decode: Handling of '
7 echo html_entity_decode("'", ENT_QUOTES, "UTF-8"), "\n";
10 echo html_entity_decode("'", ENT_QUOTES | ENT_HTML401, "UTF-8"), "\n";
13 echo html_entity_decode("'", ENT_QUOTES | ENT_HTML5, "UTF-8"), "\n";
16 echo html_entity_decode("'", ENT_QUOTES | ENT_XHTML, "UTF-8"), "\n";
19 echo html_entity_decode("'", ENT_QUOTES | ENT_XML1, "UTF-8"), "\n";
H A Dbug25707.phpt2 Bug #25707 (html_entity_decode over-decodes <)
5 var_dump(html_entity_decode("<", ENT_COMPAT, 'ISO-8859-1'));
6 var_dump(html_entity_decode("&", ENT_COMPAT, 'ISO-8859-1'));
7 var_dump(html_entity_decode("<", ENT_COMPAT, 'ISO-8859-1'));
H A Dbug43927.phpt2 Bug #43927 (koi8r is missing from html_entity_decode())
5 var_dump(html_entity_decode("<", ENT_COMPAT, 'koi8-r'));
6 var_dump(html_entity_decode("&", ENT_COMPAT, 'koi8-r'));
7 var_dump(html_entity_decode("<", ENT_COMPAT, 'koi8-r'));
H A Dhtml_entity_decode1.phpt2 html_entity_decode: Decoding of entities after invalid entities
34 if (($a = html_entity_decode($ent, ENT_QUOTES, 'UTF-8')) !=
36 echo "htmlspecialchars_decode <-> html_entity_decode inconsistency","\n",
40 echo html_entity_decode($ent, ENT_QUOTES, 'UTF-8'), "\n";
H A Ddefault_charset.phpt2 default_charset and htmlentities/htmlspecialchars/html_entity_decode
31 var_dump(bin2hex(html_entity_decode("&pound;", ENT_HTML5)));
32 var_dump(bin2hex(html_entity_decode("&pound;", ENT_HTML5, 'cp1252')));
45 var_dump(bin2hex(html_entity_decode("&pound;", ENT_HTML5)));
46 var_dump(bin2hex(html_entity_decode("&pound;", ENT_HTML5, 'cp1252')));
60 var_dump(bin2hex(html_entity_decode("&pound;", ENT_HTML5)));
61 var_dump(bin2hex(html_entity_decode("&pound;", ENT_HTML5, 'cp1252')));
H A Dbug21338.phpt2 Bug #20934 (html_entity_decode() crash when "" is passed)
5 var_dump(html_entity_decode(""));
H A Dbug61374.phpt2 Bug #61374: html_entity_decode tries to decode code points that don't exist in ISO-8859-1
5 echo html_entity_decode('&OElig;', 0, 'ISO-8859-1');
H A Dbug29119.phpt2 Bug #29119 (html_entity_decode() misbehaves with UTF-8)
5 var_dump(bin2hex(html_entity_decode('&ensp;&thinsp;&lsquo;&dagger;&prime;&frasl;&euro;', ENT_QUOTES…
H A Dhtmlentities.phpt12 echo html_entity_decode($sc_encoded,ENT_COMPAT,"ISO-8859-1");
13 echo html_entity_decode($ent_encoded,ENT_COMPAT,"ISO-8859-1");
H A Dhtml_entity_decode_win1252.phpt40 $res = html_entity_decode("&#x81;", ENT_QUOTES, 'WINDOWS-1252');
44 $res = html_entity_decode("&#x8D;", ENT_QUOTES, 'WINDOWS-1252');
48 $res = html_entity_decode("&#x8F;", ENT_QUOTES, 'WINDOWS-1252');
52 $res = html_entity_decode("&#x90;", ENT_QUOTES, 'WINDOWS-1252');
56 $res = html_entity_decode("&#x9D;", ENT_QUOTES, 'WINDOWS-1252');
62 $res = html_entity_decode($ent, ENT_QUOTES, 'WINDOWS-1252');
67 $res = html_entity_decode($ent, ENT_QUOTES, 'WINDOWS-1252');
H A Dhtmlentities17.phpt2 htmlentities() / html_entity_decode() #8592 - #9002 table test
23 list(,$result) = unpack('H6', html_entity_decode($test[1], ENT_QUOTES, 'UTF-8'));
H A Dhtml_entity_decode3.phpt2 html_entity_decode: Do not decode numerical entities that refer to non-SGML or otherwise disallowed…
39 $dec = html_entity_decode($t, ENT_QUOTES | ENT_HTML401, "UTF-8");
50 $dec = html_entity_decode($t, ENT_QUOTES | ENT_XHTML, "UTF-8");
61 $dec = html_entity_decode($t, ENT_QUOTES | ENT_HTML5, "UTF-8");
72 $dec = html_entity_decode($t, ENT_QUOTES | ENT_XML1, "UTF-8");
83 $dec = html_entity_decode($t);
H A Dhtml_entity_decode_html4.phpt2 html_entity_decode() conformance check (HTML 4)
261 echo bin2hex(html_entity_decode($str, ENT_QUOTES, "UTF-8")), "\n";
H A Dhtml_entity_decode_macroman.phpt136 $res = html_entity_decode("&#x7F;", ENT_QUOTES, 'MacRoman');
142 $res = html_entity_decode($ent, ENT_QUOTES, 'MacRoman');
147 $res = html_entity_decode($ent, ENT_QUOTES, 'MacRoman');
H A Dhtml_entity_decode_win1251.phpt136 $res = html_entity_decode("&#x98;", ENT_QUOTES, 'WINDOWS-1251');
142 $res = html_entity_decode($ent, ENT_QUOTES, 'WINDOWS-1251');
147 $res = html_entity_decode($ent, ENT_QUOTES, 'WINDOWS-1251');
H A Dhtml_entity_decode_iso8859-5.phpt106 $res = html_entity_decode($ent, ENT_QUOTES, 'ISO-8859-5');
111 $res = html_entity_decode($ent, ENT_QUOTES, 'ISO-8859-5');
H A Dhtml_entity_decode_iso8859-15.phpt106 $res = html_entity_decode($ent, ENT_QUOTES, 'ISO-8859-15');
111 $res = html_entity_decode($ent, ENT_QUOTES, 'ISO-8859-15');
H A Dhtml_entity_decode_cp866.phpt138 $res = html_entity_decode($ent, ENT_QUOTES, 'CP866');
143 $res = html_entity_decode($ent, ENT_QUOTES, 'CP866');
H A Dhtml_entity_decode_koi8-r.phpt138 $res = html_entity_decode($ent, ENT_QUOTES, 'KOI8-R');
143 $res = html_entity_decode($ent, ENT_QUOTES, 'KOI8-R');
H A Dhtml_entity_decode_html5.phpt2 html_entity_decode() conformance check (HTML 5)
2134 $de = html_entity_decode($str, ENT_QUOTES | ENT_HTML5, "UTF-8");
/php-src/tests/basic/
H A Dbug67988.phpt17 var_dump(bin2hex(html_entity_decode("&pound;", ENT_HTML5)));
18 var_dump(bin2hex(html_entity_decode("&pound;", ENT_HTML5, 'cp1252')));
/php-src/ext/intl/tests/
H A Didn_uts46_errors.phpt39 html_entity_decode("www.a&#x200D;b.com", 0, "UTF-8"),
/php-src/ext/standard/
H A Dhtml.c1356 PHP_FUNCTION(html_entity_decode) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php2267 function html_entity_decode(string $string, int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401,…

Completed in 43 milliseconds

12