Home
last modified time | relevance | path

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

12

/PHP-8.4/ext/standard/tests/strings/
H A Dbug44703.phpt6 var_dump(htmlspecialchars("<a href='test'>Test</a>", ENT_COMPAT, 1));
7 var_dump(htmlspecialchars("<a href='test'>Test</a>", ENT_COMPAT, 12));
8 var_dump(htmlspecialchars("<a href='test'>Test</a>", ENT_COMPAT, 125));
9 var_dump(htmlspecialchars("<a href='test'>Test</a>", ENT_COMPAT, 1252));
10 var_dump(htmlspecialchars("<a href='test'>Test</a>", ENT_COMPAT, 12526));
12 var_dump(htmlspecialchars("<>", ENT_COMPAT, 866));
13 var_dump(htmlspecialchars("<>", ENT_COMPAT, 8666));
15 var_dump(htmlspecialchars("<>", ENT_COMPAT, NULL));
18 var_dump(htmlspecialchars("<>", ENT_COMPAT, 'SJIS'));
19 var_dump(htmlspecialchars("<>", 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";
19 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.phpt10 echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --\n";
12 $quote_style = ENT_COMPAT;
33 -- 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.phpt23 echo "Test 11: " . htmlspecialchars ($s1,ENT_COMPAT);
24 echo "Test 12: " . htmlspecialchars ($s2,ENT_COMPAT);
25 echo "Test 13: " . htmlspecialchars ($s3,ENT_COMPAT);
26 echo "Test 14: " . htmlspecialchars ($s4,ENT_COMPAT);
27 echo "Test 15: " . htmlspecialchars ($s5,ENT_COMPAT);
36 echo "Test 22: " . htmlspecialchars ($s2,ENT_COMPAT, "ISO-8859-1");
H A Dbug20934.phpt7 echo bin2hex(htmlspecialchars($str, ENT_COMPAT, "UTF-8")), "\n";
H A Dhtmlspecialchars_decode_basic.phpt18 var_dump( htmlspecialchars_decode($single_quote_string, ENT_COMPAT) );
19 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_basic4.phpt9 $tt = get_html_translation_table($table, ENT_COMPAT, "WINDOWS-1252");
15 $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 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.phpt12 $tt = get_html_translation_table($table, ENT_COMPAT, "UTF-8");
18 $tt = get_html_translation_table($table, ENT_COMPAT, "UTF-8");
H A Dhtmlentities24.phpt18 var_dump( htmlentities("\x82\x86\x99\x9f\x80\x82\x81", ENT_COMPAT, NULL) ); /* UTF-8 assumed */
34 var_dump( htmlentities($str, ENT_COMPAT) );
H A Dhtmlspecialchars.phpt14 var_dump( htmlspecialchars("<br>", ENT_COMPAT, NULL) );
30 var_dump( htmlspecialchars($str, ENT_COMPAT) );
H A Dhtmlspecialchars_decode_variation5.phpt24 var_dump( htmlspecialchars_decode($value, ENT_COMPAT) );
H A Dhtmlspecialchars_decode_variation4.phpt25 var_dump( htmlspecialchars_decode($value, ENT_COMPAT) );
H A Dget_html_translation_table_basic2.phpt15 echo "-- with table = HTML_ENTITIES & quote_style = ENT_COMPAT --\n";
17 $quote_style = ENT_COMPAT;
39 -- with table = HTML_ENTITIES & quote_style = ENT_COMPAT --
/PHP-8.4/ext/standard/
H A Dhtml.h36 #define ENT_COMPAT ENT_HTML_QUOTE_DOUBLE macro
/PHP-8.4/sapi/fpm/fpm/
H A Dfpm_status.c574 strlen(proc->query_string), 1, ENT_HTML_IGNORE_ERRORS & ENT_COMPAT, in fpm_status_handle_request()

Completed in 26 milliseconds

12