Home
last modified time | relevance | path

Searched refs:htmlentities (Results 1 – 25 of 46) sorted by relevance

12

/PHP-7.0/ext/standard/tests/strings/
H A Dhtmlentities24.phpt2 Test htmlentities() function
9 /* retrieving htmlentities from the ANSI character table */
10 echo "*** Retrieving htmlentities for 256 characters ***\n";
12 var_dump( bin2hex( htmlentities(b"chr($i)")) );
20 var_dump( htmlentities(NULL, NULL, NULL) );
33 var_dump( htmlentities($str) );
34 var_dump( htmlentities($str, ENT_QUOTES) );
35 var_dump( htmlentities($str, ENT_NOQUOTES) );
36 var_dump( htmlentities($str, ENT_COMPAT) );
40 var_dump( htmlentities() );
[all …]
H A Dhtmlentities01.phpt2 htmlentities() test 1 (cp1252)
8 var_dump(htmlentities(b"\x82\x86\x99\x9f", ENT_QUOTES, 'cp1252'));
9 var_dump(htmlentities(b"\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, 'cp1252'));
H A Ddefault_charset.phpt2 default_charset and htmlentities/htmlspecialchars/html_entity_decode
28 var_dump(htmlentities("\xA3", ENT_HTML5));
29 var_dump(htmlentities("\xA3", ENT_HTML5, 'cp1252'));
43 var_dump(htmlentities("\xA3", ENT_HTML5));
44 var_dump(htmlentities("\xA3", ENT_HTML5, 'cp1252'));
58 var_dump(htmlentities("\xA3", ENT_HTML5));
59 var_dump(htmlentities("\xA3", ENT_HTML5, 'cp1252'));
H A Dhtmlentities10.phpt2 htmlentities() test 10 (default_charset / cp1252)
10 var_dump(htmlentities("\x82\x86\x99\x9f", ENT_QUOTES, ''));
11 var_dump(htmlentities("\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, ''));
H A Dhtmlentities05.phpt2 htmlentities() test 5 (mbstring / cp1252)
12 var_dump(htmlentities("\x82\x86\x99\x9f", ENT_QUOTES, ''));
13 var_dump(htmlentities("\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, ''));
H A Dhtmlentities13.phpt2 htmlentities() test 13 (default_charset / EUC-JP)
11 var_dump(htmlentities("\xa1\xa2\xa1\xa3\xa1\xa4", ENT_QUOTES, ''));
16 Strict Standards: htmlentities(): Only basic entities substitution is supported for multi-byte enco…
H A Dhtmlentities14.phpt2 htmlentities() test 14 (default_charset / Shift_JIS)
11 var_dump(htmlentities("\x81\x41\x81\x42\x81\x43", ENT_QUOTES, ''));
16 Strict Standards: htmlentities(): Only basic entities substitution is supported for multi-byte enco…
H A Dhtmlentities16.phpt2 htmlentities() test 16 (mbstring / cp1251)
13 var_dump(bin2hex($str), bin2hex(htmlentities($str, ENT_QUOTES, '')));
14 var_dump(htmlentities($str, ENT_QUOTES | ENT_HTML5, ''));
H A Dparse_str_error1.phpt14 echo "\n-- Testing htmlentities() function with less than expected no. of arguments --\n";
16 echo "\n-- Testing htmlentities() function with more than expected no. of arguments --\n";
25 -- Testing htmlentities() function with less than expected no. of arguments --
29 -- Testing htmlentities() function with more than expected no. of arguments --
H A Dhtmlentities15.phpt2 htmlentities() test 15 (setlocale / KOI8-R)
15 As of PHP 5.4, htmlentities() no longer makes replacements with numerical
21 var_dump($str, htmlentities($str, ENT_QUOTES, ''));
H A Dhtmlentities04.phpt2 htmlentities() test 4 (setlocale / ja_JP.EUC-JP)
17 var_dump(htmlentities("\xa1\xa2\xa1\xa3\xa1\xa4", ENT_QUOTES, ''));
20 Strict Standards: htmlentities(): Only basic entities substitution is supported for multi-byte enco…
H A Dhtmlentities11.phpt2 htmlentities() test 11 (default_charset / ISO-8859-15)
10 var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
H A Dhtmlentities12.phpt2 htmlentities() test 12 (default_charset / ISO-8859-1)
10 var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
H A Dhtmlentities06.phpt2 htmlentities() test 6 (mbstring / ISO-8859-15)
13 var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
H A Dhtmlentities07.phpt2 htmlentities() test 7 (mbstring / ISO-8859-1)
13 var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
H A Dhtmlentities09.phpt2 htmlentities() test 9 (mbstring / Shift_JIS)
14 var_dump(bin2hex(htmlentities("\x81\x41\x81\x42\x81\x43", ENT_QUOTES, '')));
H A Dhtmlentities08.phpt2 htmlentities() test 8 (mbstring / EUC-JP)
14 var_dump(htmlentities("\xa1\xa2\xa1\xa3\xa1\xa4", ENT_QUOTES, ''));
H A Dhtmlentities02.phpt2 htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15)
17 var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
H A Dhtmlentities03.phpt2 htmlentities() test 3 (setlocale / de_DE.ISO-8859-1)
17 var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
H A Dhtmlentities19.phpt2 htmlentities() / htmlspecialchars() ENT_SUBSTITUTE
12 $a = htmlentities($test, ENT_QUOTES | ENT_SUBSTITUTE, "UTF-8");
H A Dhtmlentities17.phpt2 htmlentities() / html_entity_decode() #8592 - #9002 table test
19 var_dump(htmlentities(pack('H*', $test[2]), ENT_QUOTES, 'UTF-8'));
H A Dhtmlentities18.phpt2 htmlentities() / htmlspecialchars() "don't double encode" flag support
19 var_dump(htmlentities($test, ENT_QUOTES, NULL, FALSE));
H A Dhtmlentities.phpt10 $ent_encoded = htmlentities ("<>\"&��\n",ENT_COMPAT,"ISO-8859-1");
H A Dhtmlentities23.phpt2 htmlentities() / htmlspecialchars() ENT_SUBSTITUTE EUC-JP
23 $a = htmlentities($test, ENT_QUOTES | ENT_SUBSTITUTE, "EUC-JP");
/PHP-7.0/tests/basic/
H A Dbug67988.phpt14 var_dump(htmlentities("\xA3", ENT_HTML5));
15 var_dump(htmlentities("\xA3", ENT_HTML5, 'cp1252'));

Completed in 32 milliseconds

12