/php-src/ext/standard/tests/strings/ |
H A D | bug44703.phpt | 6 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 D | htmlentities.phpt | 8 $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 D | bug25707.phpt | 5 var_dump(html_entity_decode("&lt;", ENT_COMPAT, 'ISO-8859-1')); 6 var_dump(html_entity_decode("&#38;", ENT_COMPAT, 'ISO-8859-1')); 7 var_dump(html_entity_decode("&#38;lt;", ENT_COMPAT, 'ISO-8859-1'));
|
H A D | bug43927.phpt | 5 var_dump(html_entity_decode("&lt;", ENT_COMPAT, 'koi8-r')); 6 var_dump(html_entity_decode("&#38;", ENT_COMPAT, 'koi8-r')); 7 var_dump(html_entity_decode("&#38;lt;", ENT_COMPAT, 'koi8-r'));
|
H A D | get_html_translation_table_basic8.phpt | 14 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 D | get_html_translation_table_basic9.phpt | 15 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 D | bug53021.phpt | 11 echo html_entity_decode(""", ENT_COMPAT, 'UTF-8'), "\n"; 12 echo html_entity_decode(""", ENT_COMPAT, 'UTF-8'), "\n"; 19 echo html_entity_decode("'", ENT_COMPAT, 'UTF-8'), "\n";
|
H A D | get_html_translation_table_basic6.phpt | 10 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 D | get_html_translation_table_basic3.phpt | 10 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 D | get_html_translation_table_basic7.phpt | 15 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 D | htmlspecialchars_basic.phpt | 23 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 D | bug20934.phpt | 7 echo bin2hex(htmlspecialchars($str, ENT_COMPAT, "UTF-8")), "\n";
|
H A D | htmlspecialchars_decode_basic.phpt | 18 var_dump( htmlspecialchars_decode($single_quote_string, ENT_COMPAT) ); 19 var_dump( htmlspecialchars_decode($double_quote_string, ENT_COMPAT) );
|
H A D | htmlspecialchars_decode_variation7.phpt | 69 echo "\n*** HTML5/ENT_COMPAT ***\n"; 72 $dec = htmlspecialchars_decode($t, ENT_COMPAT | ENT_HTML5); 174 *** HTML5/ENT_COMPAT ***
|
H A D | get_html_translation_table_basic4.phpt | 9 $tt = get_html_translation_table($table, ENT_COMPAT, "WINDOWS-1252"); 15 $tt = get_html_translation_table($table, ENT_COMPAT, "WINDOWS-1252");
|
H A D | get_html_translation_table_basic10.phpt | 9 $tt = get_html_translation_table($table, ENT_COMPAT, "ISO-8859-1");
|
H A D | get_html_translation_table_basic5.phpt | 7 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 D | get_html_translation_table_basic1.phpt | 12 $tt = get_html_translation_table($table, ENT_COMPAT, "UTF-8"); 18 $tt = get_html_translation_table($table, ENT_COMPAT, "UTF-8");
|
H A D | htmlentities24.phpt | 18 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 D | htmlspecialchars.phpt | 14 var_dump( htmlspecialchars("<br>", ENT_COMPAT, NULL) ); 30 var_dump( htmlspecialchars($str, ENT_COMPAT) );
|
H A D | htmlspecialchars_decode_variation5.phpt | 24 var_dump( htmlspecialchars_decode($value, ENT_COMPAT) );
|
H A D | htmlspecialchars_decode_variation4.phpt | 25 var_dump( htmlspecialchars_decode($value, ENT_COMPAT) );
|
H A D | get_html_translation_table_basic2.phpt | 15 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-src/ext/standard/ |
H A D | html.h | 36 #define ENT_COMPAT ENT_HTML_QUOTE_DOUBLE macro
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_status.c | 574 strlen(proc->query_string), 1, ENT_HTML_IGNORE_ERRORS & ENT_COMPAT, in fpm_status_handle_request()
|