Home
last modified time | relevance | path

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

12

/php-src/ext/standard/tests/strings/
H A Dhtmlentities21.phpt2 htmlentities() / htmlspecialchars() ENT_DISALLOWED charset variation
28 $a = htmlentities($test, $flag | ENT_DISALLOWED, $charset);
136 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
139 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
142 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
145 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
148 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
151 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
154 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
157 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
[all …]
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("chr($i)")) );
26 var_dump( htmlentities("<html> This is a test! </html>") );
31 var_dump( htmlentities($str) );
32 var_dump( htmlentities($str, ENT_QUOTES) );
33 var_dump( htmlentities($str, ENT_NOQUOTES) );
34 var_dump( htmlentities($str, ENT_COMPAT) );
39 *** Retrieving htmlentities for 256 characters ***
[all …]
H A Dhtmlentities23.phpt2 htmlentities() / htmlspecialchars() ENT_SUBSTITUTE EUC-JP
22 $a = htmlentities($test, ENT_QUOTES | ENT_SUBSTITUTE, "EUC-JP");
31 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
38 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
45 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
52 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
59 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
66 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
73 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
80 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
[all …]
H A Dhtmlentities01.phpt2 htmlentities() test 1 (cp1252)
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 Dhtmlentities10.phpt2 htmlentities() test 10 (default_charset / cp1252)
9 var_dump(htmlentities("\x82\x86\x99\x9f", ENT_QUOTES, ''));
10 var_dump(htmlentities("\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, ''));
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 Dhtmlentities05.phpt2 htmlentities() test 5 (mbstring / cp1252)
11 var_dump(htmlentities("\x82\x86\x99\x9f", ENT_QUOTES, ''));
12 var_dump(htmlentities("\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, ''));
H A Dhtmlentities09.phpt2 htmlentities() test 9 (mbstring / Shift_JIS)
12 var_dump(bin2hex(htmlentities("\x81\x41\x81\x42\x81\x43", ENT_QUOTES, '')));
17 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
H A Dhtmlentities16.phpt2 htmlentities() test 16 (mbstring / cp1251)
11 var_dump(bin2hex($str), bin2hex(htmlentities($str, ENT_QUOTES, '')));
12 var_dump(htmlentities($str, ENT_QUOTES | ENT_HTML5, ''));
H A Dhtmlentities08.phpt2 htmlentities() test 8 (mbstring / EUC-JP)
12 var_dump(htmlentities("\xa1\xa2\xa1\xa3\xa1\xa4", ENT_QUOTES, ''));
17 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
H A Dhtmlentities13.phpt2 htmlentities() test 13 (default_charset / EUC-JP)
10 var_dump(htmlentities("\xa1\xa2\xa1\xa3\xa1\xa4", ENT_QUOTES, ''));
15 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
H A Dhtmlentities14.phpt2 htmlentities() test 14 (default_charset / Shift_JIS)
10 var_dump(htmlentities("\x81\x41\x81\x42\x81\x43", ENT_QUOTES, ''));
15 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
H A Dhtmlentities22.phpt2 htmlentities() / htmlspecialchars() ENT_DISALLOWED with entities and no double encode
40 $a = htmlentities($test, $flag | $flag2, $charset, FALSE);
256 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
259 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
262 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
265 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
268 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
271 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
274 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
277 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
[all …]
H A Dhtmlentities11.phpt2 htmlentities() test 11 (default_charset / ISO-8859-15)
9 var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
H A Dhtmlentities12.phpt2 htmlentities() test 12 (default_charset / ISO-8859-1)
9 var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
H A Dhtmlentities06.phpt2 htmlentities() test 6 (mbstring / ISO-8859-15)
12 var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
H A Dhtmlentities07.phpt2 htmlentities() test 7 (mbstring / ISO-8859-1)
12 var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
H A Dhtmlentities25.phpt2 htmlentities() should not be influenced by mb_internal_encoding()
12 var_dump(htmlentities('äöü'));
H A Dhtmlentities02.phpt2 htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15)
18 var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
H A Dhtmlentities03.phpt2 htmlentities() test 3 (setlocale / de_DE.ISO-8859-1)
18 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));
/php-src/ext/mbstring/tests/
H A Dhtmlent_encoding.phpt57 …dling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_n…
59 …dling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_n…
61 …dling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_n…
63 …dling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_n…
65 …dling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_n…
67 …dling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_n…
/php-src/tests/basic/
H A Dbug67988.phpt14 var_dump(htmlentities("\xA3", ENT_HTML5));
15 var_dump(htmlentities("\xA3", ENT_HTML5, 'cp1252'));

Completed in 25 milliseconds

12