Home
last modified time | relevance | path

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

12

/PHP-5.4/ext/standard/tests/strings/
H A Dbug44703.phpt6 var_dump(htmlspecialchars(b"<a href='test'>Test</a>", ENT_COMPAT, 1));
7 var_dump(htmlspecialchars(b"<a href='test'>Test</a>", ENT_COMPAT, 12));
8 var_dump(htmlspecialchars(b"<a href='test'>Test</a>", ENT_COMPAT, 125));
9 var_dump(htmlspecialchars(b"<a href='test'>Test</a>", ENT_COMPAT, 1252));
10 var_dump(htmlspecialchars(b"<a href='test'>Test</a>", ENT_COMPAT, 12526));
12 var_dump(htmlspecialchars(b"<>", ENT_COMPAT, 866));
13 var_dump(htmlspecialchars(b"<>", ENT_COMPAT, 8666));
15 var_dump(htmlspecialchars(b"<>", ENT_COMPAT, NULL));
18 var_dump(htmlspecialchars(b"<>", ENT_COMPAT, 'SJIS'));
19 var_dump(htmlspecialchars(b"<>", ENT_COMPAT, 'SjiS'));
[all …]
H A Dhtmlentities.phpt8 $sc_encoded = htmlspecialchars ("<>\"&��\n",ENT_COMPAT,"ISO-8859-1");
10 $ent_encoded = htmlentities ("<>\"&��\n",ENT_COMPAT,"ISO-8859-1");
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 Dbug25707.phpt5 var_dump(html_entity_decode("&amp;lt;", ENT_COMPAT, 'ISO-8859-1'));
6 var_dump(html_entity_decode("&amp;#38;", ENT_COMPAT, 'ISO-8859-1'));
7 var_dump(html_entity_decode("&amp;#38;lt;", ENT_COMPAT, 'ISO-8859-1'));
H A Dbug43927.phpt5 var_dump(html_entity_decode("&amp;lt;", ENT_COMPAT, 'koi8-r'));
6 var_dump(html_entity_decode("&amp;#38;", ENT_COMPAT, 'koi8-r'));
7 var_dump(html_entity_decode("&amp;#38;lt;", ENT_COMPAT, 'koi8-r'));
H A Dget_html_translation_table_basic8.phpt14 echo "-- with table = HTML_ENTITIES, ENT_COMPAT --\n";
16 $tt = get_html_translation_table($table, ENT_COMPAT | ENT_XML1, "UTF-8");
24 echo "-- with table = HTML_SPECIALCHARS, ENT_COMPAT --\n";
26 $tt = get_html_translation_table($table, ENT_COMPAT, "UTF-8");
58 -- with table = HTML_ENTITIES, ENT_COMPAT --
62 -- with table = HTML_SPECIALCHARS, ENT_COMPAT --
H A Dget_html_translation_table_basic9.phpt15 echo "-- with table = HTML_ENTITIES, ENT_COMPAT --\n";
17 $tt = get_html_translation_table($table, ENT_COMPAT | ENT_HTML5, "SJIS");
25 echo "-- with table = HTML_SPECIALCHARS, ENT_COMPAT --\n";
27 $tt = get_html_translation_table($table, ENT_COMPAT, "SJIS");
60 -- with table = HTML_ENTITIES, ENT_COMPAT --
64 -- with table = HTML_SPECIALCHARS, ENT_COMPAT --
H A Dbug53021.phpt11 echo html_entity_decode("&quot;", ENT_COMPAT, 'UTF-8'), "\n";
12 echo html_entity_decode("&#34;", ENT_COMPAT, 'UTF-8'), "\n";
17 echo html_entity_decode("&#39;", ENT_COMPAT, 'UTF-8'), "\n";
H A Dget_html_translation_table_basic6.phpt10 echo "-- with table = HTML_ENTITIES, ENT_COMPAT --\n";
12 $tt = get_html_translation_table($table, ENT_COMPAT | ENT_HTML5, "Windows-1251");
27 echo "-- with table = HTML_SPECIALCHARS, ENT_COMPAT --\n";
29 $tt = get_html_translation_table($table, ENT_COMPAT, "Windows-1251");
51 -- with table = HTML_ENTITIES, ENT_COMPAT --
218 -- with table = HTML_SPECIALCHARS, ENT_COMPAT --
H A Dget_html_translation_table_basic3.phpt15 echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --\n";
17 $quote_style = ENT_COMPAT;
38 -- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --
H A Dget_html_translation_table_basic7.phpt15 echo "-- with table = HTML_ENTITIES, ENT_COMPAT --\n";
17 $tt = get_html_translation_table($table, ENT_COMPAT | ENT_XHTML, "UTF-8");
25 echo "-- with table = HTML_SPECIALCHARS, ENT_COMPAT --\n";
27 $tt = get_html_translation_table($table, ENT_COMPAT, "UTF-8");
307 -- with table = HTML_ENTITIES, ENT_COMPAT --
311 -- with table = HTML_SPECIALCHARS, ENT_COMPAT --
H A Dhtmlspecialchars_basic.phpt28 echo "Test 11: " . htmlspecialchars ($s1,ENT_COMPAT);
29 echo "Test 12: " . htmlspecialchars ($s2,ENT_COMPAT);
30 echo "Test 13: " . htmlspecialchars ($s3,ENT_COMPAT);
31 echo "Test 14: " . htmlspecialchars ($s4,ENT_COMPAT);
32 echo "Test 15: " . htmlspecialchars ($s5,ENT_COMPAT);
41 echo "Test 22: " . htmlspecialchars ($s2,ENT_COMPAT, "ISO-8859-1");
H A Dbug20934.phpt13 var_dump(utf8_decode(htmlspecialchars($str, ENT_COMPAT, "UTF-8")));
H A Dhtmlspecialchars_decode_basic.phpt23 var_dump( htmlspecialchars_decode($single_quote_string, ENT_COMPAT) );
24 var_dump( htmlspecialchars_decode($double_quote_string, ENT_COMPAT) );
H A Dhtmlspecialchars_decode_variation7.phpt69 echo "\n*** HTML5/ENT_COMPAT ***\n";
72 $dec = htmlspecialchars_decode($t, ENT_COMPAT | ENT_HTML5);
174 *** HTML5/ENT_COMPAT ***
H A Dget_html_translation_table_error.phpt15 $quote_style = ENT_COMPAT;
H A Dget_html_translation_table_basic4.phpt15 $tt = get_html_translation_table($table, ENT_COMPAT, "WINDOWS-1252");
21 $tt = get_html_translation_table($table, ENT_COMPAT, "WINDOWS-1252");
H A Dget_html_translation_table_basic10.phpt9 $tt = get_html_translation_table($table, ENT_COMPAT, "ISO-8859-1");
H A Dhtmlspecialchars_decode_error.phpt19 $quote_style = ENT_COMPAT;
H A Dget_html_translation_table_basic5.phpt7 echo "-- with table = HTML_ENTITIES, ENT_COMPAT --\n";
9 $tt = get_html_translation_table($table, ENT_COMPAT | ENT_HTML5, "UTF-8");
24 echo "-- with table = HTML_SPECIALCHARS, ENT_COMPAT --\n";
26 $tt = get_html_translation_table($table, ENT_COMPAT, "UTF-8");
48 -- with table = HTML_ENTITIES, ENT_COMPAT --
1568 -- with table = HTML_SPECIALCHARS, ENT_COMPAT --
H A Dget_html_translation_table_basic1.phpt17 $tt = get_html_translation_table($table, ENT_COMPAT, "UTF-8");
23 $tt = get_html_translation_table($table, ENT_COMPAT, "UTF-8");
H A Dhtmlentities24.phpt19 var_dump( htmlentities("\x82\x86\x99\x9f\x80\x82\x81", ENT_COMPAT, NULL) ); /* UTF-8 assumed */
36 var_dump( htmlentities($str, ENT_COMPAT) );
H A Dhtmlspecialchars.phpt19 var_dump( htmlspecialchars("<br>", ENT_COMPAT, NULL) );
36 var_dump( htmlspecialchars($str, ENT_COMPAT) );
H A Dget_html_translation_table_variation1.phpt16 $quote_style = ENT_COMPAT;
75 $v = get_html_translation_table($table, ENT_COMPAT, "UTF-8");
H A Dhtmlspecialchars_decode_variation5.phpt29 var_dump( htmlspecialchars_decode($value, ENT_COMPAT) );
/PHP-5.4/ext/standard/
H A Dhtml.h38 #define ENT_COMPAT ENT_HTML_QUOTE_DOUBLE macro

Completed in 62 milliseconds

12