/PHP-7.0/ext/standard/tests/strings/ |
H A D | htmlentities24.phpt | 2 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 D | htmlentities01.phpt | 2 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 D | default_charset.phpt | 2 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 D | htmlentities10.phpt | 2 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 D | htmlentities05.phpt | 2 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 D | htmlentities13.phpt | 2 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 D | htmlentities14.phpt | 2 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 D | htmlentities16.phpt | 2 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 D | parse_str_error1.phpt | 14 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 D | htmlentities15.phpt | 2 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 D | htmlentities04.phpt | 2 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 D | htmlentities11.phpt | 2 htmlentities() test 11 (default_charset / ISO-8859-15) 10 var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
|
H A D | htmlentities12.phpt | 2 htmlentities() test 12 (default_charset / ISO-8859-1) 10 var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
|
H A D | htmlentities06.phpt | 2 htmlentities() test 6 (mbstring / ISO-8859-15) 13 var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
|
H A D | htmlentities07.phpt | 2 htmlentities() test 7 (mbstring / ISO-8859-1) 13 var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
|
H A D | htmlentities09.phpt | 2 htmlentities() test 9 (mbstring / Shift_JIS) 14 var_dump(bin2hex(htmlentities("\x81\x41\x81\x42\x81\x43", ENT_QUOTES, '')));
|
H A D | htmlentities08.phpt | 2 htmlentities() test 8 (mbstring / EUC-JP) 14 var_dump(htmlentities("\xa1\xa2\xa1\xa3\xa1\xa4", ENT_QUOTES, ''));
|
H A D | htmlentities02.phpt | 2 htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15) 17 var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
|
H A D | htmlentities03.phpt | 2 htmlentities() test 3 (setlocale / de_DE.ISO-8859-1) 17 var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
|
H A D | htmlentities19.phpt | 2 htmlentities() / htmlspecialchars() ENT_SUBSTITUTE 12 $a = htmlentities($test, ENT_QUOTES | ENT_SUBSTITUTE, "UTF-8");
|
H A D | htmlentities17.phpt | 2 htmlentities() / html_entity_decode() #8592 - #9002 table test 19 var_dump(htmlentities(pack('H*', $test[2]), ENT_QUOTES, 'UTF-8'));
|
H A D | htmlentities18.phpt | 2 htmlentities() / htmlspecialchars() "don't double encode" flag support 19 var_dump(htmlentities($test, ENT_QUOTES, NULL, FALSE));
|
H A D | htmlentities.phpt | 10 $ent_encoded = htmlentities ("<>\"&��\n",ENT_COMPAT,"ISO-8859-1");
|
H A D | htmlentities23.phpt | 2 htmlentities() / htmlspecialchars() ENT_SUBSTITUTE EUC-JP 23 $a = htmlentities($test, ENT_QUOTES | ENT_SUBSTITUTE, "EUC-JP");
|
/PHP-7.0/tests/basic/ |
H A D | bug67988.phpt | 14 var_dump(htmlentities("\xA3", ENT_HTML5)); 15 var_dump(htmlentities("\xA3", ENT_HTML5, 'cp1252'));
|