Home
last modified time | relevance | path

Searched refs:htmlspecialchars (Results 26 – 35 of 35) sorted by last modified time

12

/PHP-5.5/ext/simplexml/tests/
H A Dbug38424.phpt13 $xml["a1"] = htmlspecialchars($str,ENT_NOQUOTES) ;
15 $xml["a2"] = htmlspecialchars($str,ENT_NOQUOTES) ;
/PHP-5.5/ext/mbstring/tests/
H A Dbug65045.phpt19 $expected === htmlspecialchars_decode(htmlspecialchars($str, ENT_SUBSTITUTE, 'UTF-8')),
20 $expected2 === htmlspecialchars_decode(htmlspecialchars($str2, ENT_SUBSTITUTE, 'UTF-8')),
/PHP-5.5/ext/libxml/tests/
H A Dbug61367-read.phpt18 $dir = htmlspecialchars(dirname(getcwd()));
/PHP-5.5/
H A DNEWS3186 htmlspecialchars and htmlentities. (Rasmus)
3278 . Fixed bug #60965 (Buffer overflow on htmlspecialchars/entities with
4607 . Fixed htmlentities/htmlspecialchars accepting certain ill-formed UTF-8
6759 - Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items). (Arnaud)
6925 - Fixed bug #44703 (htmlspecialchars() does not detect bad character set argument). (Andy Wharmby)
7078 - Fixed htmlentities/htmlspecialchars not to accept partial multibyte
7435 - Added a 4th parameter flag to htmlspecialchars() and htmlentities() that
/PHP-5.5/ext/standard/tests/strings/
H A Dhtmlentities18.phpt2 htmlentities() / htmlspecialchars() "don't double encode" flag support
20 var_dump(htmlspecialchars($test, ENT_QUOTES, NULL, FALSE));
H A Dhtmlentities19.phpt2 htmlentities() / htmlspecialchars() ENT_SUBSTITUTE
14 $a = htmlspecialchars($test, ENT_QUOTES | ENT_SUBSTITUTE, "UTF-8");
H A Dget_html_translation_table_basic2.phpt6 * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
H A Dbug45485.phpt11 echo htmlspecialchars($s),"\n";
18 echo htmlspecialchars($s),"\n";
H A Dbug49785.phpt2 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 Dbug60965.phpt2 Bug #60965: Buffer overflow on htmlspecialchars/entities with $double=false
5 echo htmlspecialchars('"""""""""""""""""""""""""""""""""""""""""""""&#x0000000000000000000000000000…

Completed in 65 milliseconds

12