/PHP-8.3/ext/standard/tests/strings/ |
H A D | html_entity_decode2.phpt | 7 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 D | htmlspecialchars_decode_variation7.phpt | 14 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 D | get_html_translation_table_basic8.phpt | 7 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 D | bug53021.phpt | 5 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 D | get_html_translation_table_basic9.phpt | 8 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 D | html_entity_decode1.phpt | 34 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 D | htmlentities01.phpt | 7 var_dump(htmlentities("\x82\x86\x99\x9f", ENT_QUOTES, 'cp1252')); 8 var_dump(htmlentities("\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, 'cp1252'));
|
H A D | bug49785.phpt | 10 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 D | htmlentities10.phpt | 9 var_dump(htmlentities("\x82\x86\x99\x9f", ENT_QUOTES, '')); 10 var_dump(htmlentities("\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, ''));
|
H A D | htmlentities05.phpt | 11 var_dump(htmlentities("\x82\x86\x99\x9f", ENT_QUOTES, '')); 12 var_dump(htmlentities("\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, ''));
|
H A D | get_html_translation_table_basic6.phpt | 17 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 D | htmlentities16.phpt | 11 var_dump(bin2hex($str), bin2hex(htmlentities($str, ENT_QUOTES, ''))); 12 var_dump(htmlentities($str, ENT_QUOTES | ENT_HTML5, ''));
|
H A D | htmlspecialchars_basic.phpt | 28 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 D | get_html_translation_table_basic3.phpt | 17 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 D | bug61116.phpt | 13 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 D | get_html_translation_table_basic7.phpt | 7 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 D | html_entity_decode_win1252.phpt | 40 $res = html_entity_decode("", ENT_QUOTES, 'WINDOWS-1252'); 44 $res = html_entity_decode("", ENT_QUOTES, 'WINDOWS-1252'); 48 $res = html_entity_decode("", ENT_QUOTES, 'WINDOWS-1252'); 52 $res = html_entity_decode("", ENT_QUOTES, 'WINDOWS-1252'); 56 $res = html_entity_decode("", 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 D | htmlentities19.phpt | 12 $a = htmlentities($test, ENT_QUOTES | ENT_SUBSTITUTE, "UTF-8"); 14 $a = htmlspecialchars($test, ENT_QUOTES | ENT_SUBSTITUTE, "UTF-8");
|
H A D | htmlentities17.phpt | 19 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 D | htmlentities18.phpt | 19 var_dump(htmlentities($test, ENT_QUOTES, NULL, FALSE)); 20 var_dump(htmlspecialchars($test, ENT_QUOTES, NULL, FALSE));
|
H A D | bug29119.phpt | 5 var_dump(bin2hex(html_entity_decode('  ‘†′⁄€', ENT_QUOTES…
|
H A D | bug73817.phpt | 5 $entities = get_html_translation_table( HTML_ENTITIES, ENT_QUOTES | ENT_HTML5);
|
H A D | htmlentities11.phpt | 9 var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
|
H A D | htmlentities12.phpt | 9 var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
|
H A D | htmlentities-utf.phpt | 14 $sc_encoded = htmlspecialchars ($string, ENT_QUOTES, "utf-8"); 16 $ent_encoded = htmlentities ($string, ENT_QUOTES, "utf-8");
|