/PHP-5.4/ext/standard/tests/strings/ |
H A D | bug44703.phpt | 6 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 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"; 17 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 | 15 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 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 | 28 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 D | bug20934.phpt | 13 var_dump(utf8_decode(htmlspecialchars($str, ENT_COMPAT, "UTF-8")));
|
H A D | htmlspecialchars_decode_basic.phpt | 23 var_dump( htmlspecialchars_decode($single_quote_string, ENT_COMPAT) ); 24 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_error.phpt | 15 $quote_style = ENT_COMPAT;
|
H A D | get_html_translation_table_basic4.phpt | 15 $tt = get_html_translation_table($table, ENT_COMPAT, "WINDOWS-1252"); 21 $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 | htmlspecialchars_decode_error.phpt | 19 $quote_style = ENT_COMPAT;
|
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 | 17 $tt = get_html_translation_table($table, ENT_COMPAT, "UTF-8"); 23 $tt = get_html_translation_table($table, ENT_COMPAT, "UTF-8");
|
H A D | htmlentities24.phpt | 19 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 D | htmlspecialchars.phpt | 19 var_dump( htmlspecialchars("<br>", ENT_COMPAT, NULL) ); 36 var_dump( htmlspecialchars($str, ENT_COMPAT) );
|
H A D | get_html_translation_table_variation1.phpt | 16 $quote_style = ENT_COMPAT; 75 $v = get_html_translation_table($table, ENT_COMPAT, "UTF-8");
|
H A D | htmlspecialchars_decode_variation5.phpt | 29 var_dump( htmlspecialchars_decode($value, ENT_COMPAT) );
|
/PHP-5.4/ext/standard/ |
H A D | html.h | 38 #define ENT_COMPAT ENT_HTML_QUOTE_DOUBLE macro
|