Home
last modified time | relevance | path

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

12

/PHP-5.3/ext/standard/tests/file/
H A Dhtmlentities19.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 …]
/PHP-5.3/ext/standard/tests/strings/
H A Dhtmlentities05.phpt2 htmlentities() test 5 (mbstring / cp1252)
10 @htmlentities("\x82\x86\x99\x9f", ENT_QUOTES, '');
19 var_dump(htmlentities("\x82\x86\x99\x9f", ENT_QUOTES, ''));
20 var_dump(htmlentities("\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, ''));
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 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 Dhtmlentities06.phpt2 htmlentities() test 6 (mbstring / ISO-8859-15)
9 @htmlentities("\xbc\xbd\xbe", ENT_QUOTES, '');
18 var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
H A Dhtmlentities07.phpt2 htmlentities() test 7 (mbstring / ISO-8859-1)
10 @htmlentities("\xe4\xf6\xfc", ENT_QUOTES, '');
19 var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
H A Dhtmlentities09.phpt2 htmlentities() test 9 (mbstring / Shift_JIS)
10 @htmlentities("\x81\x41\x81\x42\x81\x43", ENT_QUOTES, '');
19 var_dump(bin2hex(htmlentities("\x81\x41\x81\x42\x81\x43", ENT_QUOTES, '')));
H A Dhtmlentities08.phpt2 htmlentities() test 8 (mbstring / EUC-JP)
10 @htmlentities("\xa1\xa2\xa1\xa3\xa1\xa4", ENT_QUOTES, '');
19 var_dump(htmlentities("\xa1\xa2\xa1\xa3\xa1\xa4", ENT_QUOTES, ''));
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 Dhtmlentities16.phpt2 htmlentities() test 16 (mbstring / cp1251)
9 @htmlentities("\x88\xa9\xd2\xcf\xd3\xcb\xcf\xdb\xce\xd9\xca", ENT_QUOTES, '') == '') {
17 var_dump(bin2hex($str), htmlentities($str, ENT_QUOTES, ''));
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 Dhtmlentities13.phpt2 htmlentities() test 13 (default_charset / EUC-JP)
10 var_dump(htmlentities("\xa1\xa2\xa1\xa3\xa1\xa4", ENT_QUOTES, ''));
H A Dhtmlentities14.phpt2 htmlentities() test 14 (default_charset / Shift_JIS)
10 var_dump(htmlentities("\x81\x41\x81\x42\x81\x43", 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 Dhtmlentities15.phpt2 htmlentities() test 15 (setlocale / KOI8-R)
18 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, ''));
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");
H A Dget_html_translation_table_error.phpt6 * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
H A Dbug49785.phpt10 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 …]
/PHP-5.3/ext/standard/
H A Dhtml.h37 PHP_FUNCTION(htmlentities);
/PHP-5.3/ext/pcre/tests/
H A Dbug27103.phpt14 echo htmlentities($c, 0, "UTF-8"), ": ", strlen($c), "\n";

Completed in 31 milliseconds

12