Home
last modified time | relevance | path

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

123

/php-src/ext/standard/tests/strings/
H A Dhtml_entity_decode2.phpt7 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 Dhtmlspecialchars_decode_variation7.phpt14 echo "*** HTML 4.01/ENT_QUOTES ***\n";
17 $dec = htmlspecialchars_decode($t, ENT_QUOTES | ENT_HTML401);
25 echo "\n*** XHTML 1.0/ENT_QUOTES ***\n";
28 $dec = htmlspecialchars_decode($t, ENT_QUOTES | ENT_XHTML);
36 echo "\n*** HTML5/ENT_QUOTES ***\n";
47 echo "\n*** XML 1.0/ENT_QUOTES ***\n";
50 $dec = htmlspecialchars_decode($t, ENT_QUOTES | ENT_XML1);
84 *** HTML 4.01/ENT_QUOTES ***
102 *** XHTML 1.0/ENT_QUOTES ***
120 *** HTML5/ENT_QUOTES ***
[all …]
H A Dget_html_translation_table_basic8.phpt7 echo "-- with table = HTML_ENTITIES, ENT_QUOTES --\n";
9 $tt = get_html_translation_table($table, ENT_QUOTES | ENT_XML1, "UTF-8");
31 echo "-- with table = HTML_SPECIALCHARS, ENT_QUOTES --\n";
33 $tt = get_html_translation_table($table, ENT_QUOTES | ENT_XML1, "UTF-8");
48 -- with table = HTML_ENTITIES, ENT_QUOTES --
71 -- with table = HTML_SPECIALCHARS, ENT_QUOTES --
H A Dbug53021.phpt5 var_dump(unpack("H*",html_entity_decode("é", ENT_QUOTES, "ISO-8859-1")));
9 echo html_entity_decode(""", ENT_QUOTES, 'UTF-8'), "\n";
10 echo html_entity_decode(""", ENT_QUOTES, 'UTF-8'), "\n";
18 echo html_entity_decode("'", ENT_QUOTES, 'UTF-8'), "\n";
H A Dget_html_translation_table_basic9.phpt8 echo "-- with table = HTML_ENTITIES, ENT_QUOTES --\n";
10 $tt = get_html_translation_table($table, ENT_QUOTES | ENT_HTML5, "SJIS");
32 echo "-- with table = HTML_SPECIALCHARS, ENT_QUOTES --\n";
34 $tt = get_html_translation_table($table, ENT_QUOTES | ENT_HTML5, "SJIS");
50 -- with table = HTML_ENTITIES, ENT_QUOTES --
73 -- with table = HTML_SPECIALCHARS, ENT_QUOTES --
H A Dhtml_entity_decode1.phpt34 if (($a = html_entity_decode($ent, ENT_QUOTES, 'UTF-8')) !=
35 ($b = htmlspecialchars_decode($ent, ENT_QUOTES))) {
40 echo html_entity_decode($ent, ENT_QUOTES, 'UTF-8'), "\n";
H A Dhtmlentities01.phpt7 var_dump(htmlentities("\x82\x86\x99\x9f", ENT_QUOTES, 'cp1252'));
8 var_dump(htmlentities("\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, 'cp1252'));
H A Dbug49785.phpt10 var_dump(_bin2hex(htmlentities("\xc1\xbf", ENT_QUOTES, "UTF-8")));
11 var_dump(_bin2hex(htmlentities("\xc2\x80", ENT_QUOTES, "UTF-8")));
12 var_dump(_bin2hex(htmlentities("\xc2\x00", ENT_QUOTES, "UTF-8")));
13 var_dump(_bin2hex(htmlentities("\xc2\xc0", ENT_QUOTES, "UTF-8")));
14 var_dump(_bin2hex(htmlentities("\xce\x91", ENT_QUOTES, "UTF-8")));
15 var_dump(_bin2hex(htmlentities("\xce\xb1", ENT_QUOTES, "UTF-8")));
16 var_dump(_bin2hex(htmlentities("\xdf\xbf", ENT_QUOTES, "UTF-8")));
17 var_dump(_bin2hex(htmlentities("\xe0\xa0\x80", ENT_QUOTES, "UTF-8")));
18 var_dump(_bin2hex(htmlentities("\xe0\x9f\xbf", ENT_QUOTES, "UTF-8")));
19 var_dump(_bin2hex(htmlentities("\xe0\x9f\xbf", ENT_QUOTES, "UTF-8")));
[all …]
H A Dhtmlentities10.phpt9 var_dump(htmlentities("\x82\x86\x99\x9f", ENT_QUOTES, ''));
10 var_dump(htmlentities("\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, ''));
H A Dhtmlentities05.phpt11 var_dump(htmlentities("\x82\x86\x99\x9f", ENT_QUOTES, ''));
12 var_dump(htmlentities("\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, ''));
H A Dget_html_translation_table_basic6.phpt17 echo "-- with table = HTML_ENTITIES, ENT_QUOTES --\n";
19 $tt = get_html_translation_table($table, ENT_QUOTES | ENT_HTML5, "Windows-1251");
34 echo "-- with table = HTML_SPECIALCHARS, ENT_QUOTES --\n";
36 $tt = get_html_translation_table($table, ENT_QUOTES | ENT_HTML5, "Windows-1251");
214 -- with table = HTML_ENTITIES, ENT_QUOTES --
227 -- with table = HTML_SPECIALCHARS, ENT_QUOTES --
H A Dhtmlentities16.phpt11 var_dump(bin2hex($str), bin2hex(htmlentities($str, ENT_QUOTES, '')));
12 var_dump(htmlentities($str, ENT_QUOTES | ENT_HTML5, ''));
H A Dhtmlspecialchars_basic.phpt28 echo "Test 16: " . htmlspecialchars ($s1,ENT_QUOTES);
29 echo "Test 17: " . htmlspecialchars ($s2,ENT_QUOTES);
30 echo "Test 18: " . htmlspecialchars ($s3,ENT_QUOTES);
31 echo "Test 19: " . htmlspecialchars ($s4,ENT_QUOTES);
32 echo "Test 20: " . htmlspecialchars ($s5,ENT_QUOTES);
37 echo "Test 23: " . htmlspecialchars ($s3,ENT_QUOTES, "ISO-8859-1");
38 echo "Test 24: " . htmlspecialchars ($s5,ENT_QUOTES, "ISO-8859-1");
H A Dget_html_translation_table_basic3.phpt17 echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTES --\n";
18 $quote_style = ENT_QUOTES;
44 -- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTES --
H A Dbug61116.phpt13 Parameter #1 [ <optional> int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401 ]
24 Parameter #1 [ <optional> int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401 ]
H A Dget_html_translation_table_basic7.phpt7 echo "-- with table = HTML_ENTITIES, ENT_QUOTES --\n";
10 $tt = get_html_translation_table($table, ENT_QUOTES | ENT_XHTML, "UTF-8");
32 echo "-- with table = HTML_SPECIALCHARS, ENT_QUOTES --\n";
34 $tt = get_html_translation_table($table, ENT_QUOTES | ENT_XHTML, "UTF-8");
49 -- with table = HTML_ENTITIES, ENT_QUOTES --
320 -- with table = HTML_SPECIALCHARS, ENT_QUOTES --
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 Dhtmlentities19.phpt12 $a = htmlentities($test, ENT_QUOTES | ENT_SUBSTITUTE, "UTF-8");
14 $a = htmlspecialchars($test, ENT_QUOTES | ENT_SUBSTITUTE, "UTF-8");
H A Dhtmlentities17.phpt19 var_dump(htmlentities(pack('H*', $test[2]), ENT_QUOTES, 'UTF-8'));
23 list(,$result) = unpack('H6', html_entity_decode($test[1], ENT_QUOTES, 'UTF-8'));
H A Dhtmlentities18.phpt19 var_dump(htmlentities($test, ENT_QUOTES, NULL, FALSE));
20 var_dump(htmlspecialchars($test, ENT_QUOTES, NULL, FALSE));
H A Dbug29119.phpt5 var_dump(bin2hex(html_entity_decode('&ensp;&thinsp;&lsquo;&dagger;&prime;&frasl;&euro;', ENT_QUOTES
H A Dbug73817.phpt5 $entities = get_html_translation_table( HTML_ENTITIES, ENT_QUOTES | ENT_HTML5);
H A Dhtmlentities11.phpt9 var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
H A Dhtmlentities12.phpt9 var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
H A Dhtmlentities-utf.phpt14 $sc_encoded = htmlspecialchars ($string, ENT_QUOTES, "utf-8");
16 $ent_encoded = htmlentities ($string, ENT_QUOTES, "utf-8");

Completed in 29 milliseconds

123