Home
last modified time | relevance | path

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

/PHP-5.5/ext/standard/tests/strings/
H A Dbug53021.phpt5 var_dump(unpack("H*",html_entity_decode("é", ENT_QUOTES, "ISO-8859-1")));
7 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";
15 echo html_entity_decode("'", ENT_NOQUOTES, 'UTF-8'), "\n";
16 echo html_entity_decode("'", ENT_QUOTES, 'UTF-8'), "\n";
17 echo html_entity_decode("'", ENT_COMPAT, 'UTF-8'), "\n";
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 Dbug21338.phpt2 Bug #20934 (html_entity_decode() crash when "" is passed)
5 var_dump(html_entity_decode(NULL));
6 var_dump(html_entity_decode(""));
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 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…
38 $dec = html_entity_decode($t, ENT_QUOTES | ENT_HTML401, "UTF-8");
49 $dec = html_entity_decode($t, ENT_QUOTES | ENT_XHTML, "UTF-8");
60 $dec = html_entity_decode($t, ENT_QUOTES | ENT_HTML5, "UTF-8");
71 $dec = html_entity_decode($t, ENT_QUOTES | ENT_XML1, "UTF-8");
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-5.5/ext/standard/
H A Dhtml.h54 PHP_FUNCTION(html_entity_decode);
H A Dhtml.c1510 PHP_FUNCTION(html_entity_decode) in PHP_FUNCTION() argument
H A Dbasic_functions.c2720 PHP_FE(html_entity_decode, arginfo_html_entity_decode)
/PHP-5.5/ext/intl/tests/
H A Didn_uts46_errors.phpt37 html_entity_decode("www.a&#x200D;b.com", 0, "UTF-8"),
/PHP-5.5/
H A DNEWS2994 . Fixed bug #61374 (html_entity_decode tries to decode code points that don't
4623 . Fixed bug #53021 (In html_entity_decode, failure to convert numeric entities
4625 ENT_NOQUOTES in html_entity_decode that had introduced the bug (rev
4626 #185591) to other encodings. Additionaly, html_entity_decode() now doesn't
6086 - Fixed html_entity_decode() incorrectly converting numeric html entities
6968 - Fixed bug #43927 (koi8r is missing from html_entity_decode()). (andy at demos dot su, Tony)
9610 - Fixed bug #32608 (html_entity_decode() converts single quotes even if
10158 - Fixed bug #29119 (html_entity_decode() misbehaves with UTF-8). (Moriyoshi)

Completed in 57 milliseconds