/PHP-8.0/ext/standard/tests/strings/ |
H A D | bug53021.phpt | 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"; 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 D | html_entity_decode2.phpt | 2 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 D | bug25707.phpt | 2 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 D | bug43927.phpt | 2 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 D | bug21338.phpt | 2 Bug #20934 (html_entity_decode() crash when "" is passed) 5 var_dump(html_entity_decode(NULL)); 6 var_dump(html_entity_decode(""));
|
H A D | html_entity_decode1.phpt | 2 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 D | default_charset.phpt | 2 default_charset and htmlentities/htmlspecialchars/html_entity_decode 31 var_dump(bin2hex(html_entity_decode("£", ENT_HTML5))); 32 var_dump(bin2hex(html_entity_decode("£", ENT_HTML5, 'cp1252'))); 45 var_dump(bin2hex(html_entity_decode("£", ENT_HTML5))); 46 var_dump(bin2hex(html_entity_decode("£", ENT_HTML5, 'cp1252'))); 60 var_dump(bin2hex(html_entity_decode("£", ENT_HTML5))); 61 var_dump(bin2hex(html_entity_decode("£", ENT_HTML5, 'cp1252')));
|
H A D | bug61374.phpt | 2 Bug #61374: html_entity_decode tries to decode code points that don't exist in ISO-8859-1 5 echo html_entity_decode('Œ', 0, 'ISO-8859-1');
|
H A D | bug29119.phpt | 2 Bug #29119 (html_entity_decode() misbehaves with UTF-8) 5 var_dump(bin2hex(html_entity_decode('  ‘†′⁄€', ENT_QUOTES…
|
H A D | htmlentities.phpt | 12 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 D | html_entity_decode_win1252.phpt | 40 $res = html_entity_decode("", ENT_QUOTES, 'WINDOWS-1252'); 44 $res = html_entity_decode("", ENT_QUOTES, 'WINDOWS-1252'); 48 $res = html_entity_decode("", ENT_QUOTES, 'WINDOWS-1252'); 52 $res = html_entity_decode("", ENT_QUOTES, 'WINDOWS-1252'); 56 $res = html_entity_decode("", 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 D | htmlentities17.phpt | 2 htmlentities() / html_entity_decode() #8592 - #9002 table test 23 list(,$result) = unpack('H6', html_entity_decode($test[1], ENT_QUOTES, 'UTF-8'));
|
H A D | html_entity_decode3.phpt | 2 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 D | html_entity_decode_html4.phpt | 2 html_entity_decode() conformance check (HTML 4) 261 echo bin2hex(html_entity_decode($str, ENT_QUOTES, "UTF-8")), "\n";
|
H A D | html_entity_decode_win1251.phpt | 136 $res = html_entity_decode("˜", 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 D | html_entity_decode_macroman.phpt | 136 $res = html_entity_decode("", ENT_QUOTES, 'MacRoman'); 142 $res = html_entity_decode($ent, ENT_QUOTES, 'MacRoman'); 147 $res = html_entity_decode($ent, ENT_QUOTES, 'MacRoman');
|
H A D | html_entity_decode_iso8859-5.phpt | 106 $res = html_entity_decode($ent, ENT_QUOTES, 'ISO-8859-5'); 111 $res = html_entity_decode($ent, ENT_QUOTES, 'ISO-8859-5');
|
H A D | html_entity_decode_iso8859-15.phpt | 106 $res = html_entity_decode($ent, ENT_QUOTES, 'ISO-8859-15'); 111 $res = html_entity_decode($ent, ENT_QUOTES, 'ISO-8859-15');
|
H A D | html_entity_decode_cp866.phpt | 138 $res = html_entity_decode($ent, ENT_QUOTES, 'CP866'); 143 $res = html_entity_decode($ent, ENT_QUOTES, 'CP866');
|
H A D | html_entity_decode_koi8-r.phpt | 138 $res = html_entity_decode($ent, ENT_QUOTES, 'KOI8-R'); 143 $res = html_entity_decode($ent, ENT_QUOTES, 'KOI8-R');
|
H A D | html_entity_decode_html5.phpt | 2 html_entity_decode() conformance check (HTML 5) 2134 $de = html_entity_decode($str, ENT_QUOTES | ENT_HTML5, "UTF-8");
|
/PHP-8.0/tests/basic/ |
H A D | bug67988.phpt | 17 var_dump(bin2hex(html_entity_decode("£", ENT_HTML5))); 18 var_dump(bin2hex(html_entity_decode("£", ENT_HTML5, 'cp1252')));
|
/PHP-8.0/ext/intl/tests/ |
H A D | idn_uts46_errors.phpt | 30 html_entity_decode("www.a‍b.com", 0, "UTF-8"),
|
/PHP-8.0/ext/standard/ |
H A D | html.c | 1385 PHP_FUNCTION(html_entity_decode) in PHP_FUNCTION() argument
|
H A D | basic_functions.stub.php | 521 function html_entity_decode(string $string, int $flags = ENT_COMPAT, ?string $encoding = null): str… function
|