/php-src/ext/libxml/tests/ |
H A D | bug61367-read.phpt | 22 $dir = htmlspecialchars(dirname(getcwd()));
|
H A D | bug61367-read_2.phpt | 23 $dir = htmlspecialchars(dirname(getcwd()));
|
/php-src/ext/mbstring/tests/ |
H A D | bug45722.phpt | 10 …_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities…
|
H A D | bug65045.phpt | 15 echo bin2hex(htmlspecialchars_decode(htmlspecialchars($str, ENT_SUBSTITUTE, 'UTF-8'))), "\n"; 16 echo bin2hex(htmlspecialchars_decode(htmlspecialchars($str2, ENT_SUBSTITUTE, 'UTF-8'))), "\n";
|
H A D | bug71606.phpt | 11 Deprecated: mb_strcut(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, h…
|
H A D | htmlent_encoding.phpt | 57 …_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities… 59 …_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities… 61 …_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities… 63 …_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities… 65 …_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities… 67 …_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities…
|
H A D | mb_convert_encoding.phpt | 133 …_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities…
|
H A D | mb_strlen_variation3.phpt | 347 Deprecated: mb_strlen(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, h…
|
/php-src/ext/simplexml/tests/ |
H A D | bug38424.phpt | 13 $xml["a1"] = htmlspecialchars($str,ENT_NOQUOTES) ; 15 $xml["a2"] = htmlspecialchars($str,ENT_NOQUOTES) ;
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 2275 function htmlspecialchars(string $string, int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, ?…
|
H A D | basic_functions_arginfo.h | 2534 ZEND_FUNCTION(htmlspecialchars); 3167 ZEND_FE(htmlspecialchars, arginfo_htmlspecialchars)
|
H A D | html.c | 1339 PHP_FUNCTION(htmlspecialchars) in PHP_FUNCTION() argument
|
/php-src/ext/standard/tests/strings/ |
H A D | bug20934.phpt | 2 Bug #20934 (htmlspecialchars returns latin1 from UTF-8) 7 echo bin2hex(htmlspecialchars($str, ENT_COMPAT, "UTF-8")), "\n";
|
H A D | bug44703.phpt | 2 Bug #44703 (htmlspecialchars() does not detect bad character set argument) 6 var_dump(htmlspecialchars("<a href='test'>Test</a>", ENT_COMPAT, 1)); 7 var_dump(htmlspecialchars("<a href='test'>Test</a>", ENT_COMPAT, 12)); 8 var_dump(htmlspecialchars("<a href='test'>Test</a>", ENT_COMPAT, 125)); 9 var_dump(htmlspecialchars("<a href='test'>Test</a>", ENT_COMPAT, 1252)); 12 var_dump(htmlspecialchars("<>", ENT_COMPAT, 866)); 13 var_dump(htmlspecialchars("<>", ENT_COMPAT, 8666)); 15 var_dump(htmlspecialchars("<>", ENT_COMPAT, NULL)); 18 var_dump(htmlspecialchars("<>", ENT_COMPAT, 'SJIS')); 19 var_dump(htmlspecialchars("<>", ENT_COMPAT, 'SjiS')); [all …]
|
H A D | bug45485.phpt | 11 echo htmlspecialchars($s),"\n"; 18 echo htmlspecialchars($s),"\n";
|
H A D | bug49785.phpt | 2 Bug #49785 (insufficient input string validation of htmlspecialchars()) 46 var_dump(_bin2hex(htmlspecialchars("\xc0\xa6", ENT_QUOTES, 'UTF-8'))); 56 var_dump(_bin2hex(htmlspecialchars("\x80", ENT_QUOTES, 'Shift_JIS'))); 58 var_dump(_bin2hex(htmlspecialchars($c, ENT_QUOTES, 'Shift_JIS'))); 82 var_dump(_bin2hex(htmlspecialchars($c, ENT_QUOTES, 'EUC-JP'))); 84 var_dump(_bin2hex(htmlspecialchars("\xff", ENT_QUOTES, 'EUC-JP'))); 87 var_dump(_bin2hex(htmlspecialchars("\x8e", ENT_QUOTES, 'EUC-JP'))); 88 var_dump(_bin2hex(htmlspecialchars("\x8f", ENT_QUOTES, 'EUC-JP'))); 122 var_dump(_bin2hex(htmlspecialchars("\x80", ENT_QUOTES, 'BIG5'))); 123 var_dump(_bin2hex(htmlspecialchars("\xff", ENT_QUOTES, 'BIG5'))); [all …]
|
H A D | bug60965.phpt | 2 Bug #60965: Buffer overflow on htmlspecialchars/entities with $double=false 5 echo htmlspecialchars('"""""""""""""""""""""""""""""""""""""""""""""�…
|
H A D | bug61116.phpt | 5 echo new ReflectionFunction('htmlspecialchars'), "\n"; 9 Function [ <internal:standard> function htmlspecialchars ] {
|
H A D | default_charset.phpt | 2 default_charset and htmlentities/htmlspecialchars/html_entity_decode
|
H A D | htmlentities-utf-2.phpt | 14 $sc_encoded = htmlspecialchars ($string, ENT_QUOTES | ENT_IGNORE, "utf-8");
|
H A D | htmlentities-utf-3.phpt | 2 Test get_next_char(), used by htmlentities()/htmlspecialchars(): validity of UTF-8 sequences 40 $vhe = strlen(htmlspecialchars($s, ENT_QUOTES, "UTF-8")) > 0;
|
H A D | htmlentities-utf.phpt | 14 $sc_encoded = htmlspecialchars ($string, ENT_QUOTES, "utf-8");
|
H A D | htmlentities.phpt | 8 $sc_encoded = htmlspecialchars ("<>\"&��\n",ENT_COMPAT,"ISO-8859-1");
|
H A D | htmlentities08.phpt | 17 …ulti-byte encodings other than UTF-8; functionality is equivalent to htmlspecialchars in %s line %d
|
H A D | htmlentities09.phpt | 17 …ulti-byte encodings other than UTF-8; functionality is equivalent to htmlspecialchars in %s line %d
|