Home
last modified time | relevance | path

Searched refs:htmlspecialchars_decode (Results 1 – 12 of 12) sorted by relevance

/php-src/ext/standard/tests/strings/
H A Dhtmlspecialchars_decode_basic.phpt2 Test htmlspecialchars_decode() function : basic functionality
5 echo "*** Testing htmlspecialchars_decode() : basic functionality ***\n";
13 // Calling htmlspecialchars_decode() with default arguments
14 var_dump( htmlspecialchars_decode($single_quote_string) );
15 var_dump( htmlspecialchars_decode($double_quote_string) );
18 var_dump( htmlspecialchars_decode($single_quote_string, ENT_COMPAT) );
19 var_dump( htmlspecialchars_decode($double_quote_string, ENT_COMPAT) );
20 var_dump( htmlspecialchars_decode($single_quote_string, ENT_NOQUOTES) );
22 var_dump( htmlspecialchars_decode($single_quote_string, ENT_QUOTES) );
23 var_dump( htmlspecialchars_decode($double_quote_string, ENT_QUOTES) );
[all …]
H A Dhtmlspecialchars_decode_variation6.phpt2 Test htmlspecialchars_decode() function : usage variations - binary safe
6 * testing whether htmlspecialchars_decode() is binary safe or not
9 echo "*** Testing htmlspecialchars_decode() : usage variations ***\n";
19 //loop through the strings array to check if htmlspecialchars_decode() is binary safe
24 var_dump( htmlspecialchars_decode($value) );
26 var_dump( bin2hex(htmlspecialchars_decode($value)));
35 *** Testing htmlspecialchars_decode() : usage variations ***
H A Dhtmlspecialchars_decode_variation5.phpt2 Test htmlspecialchars_decode() function : usage variations - double quoted strings for 'string' arg…
6 * testing htmlspecialchars_decode() for various double quoted strings as argument for $string
8 echo "*** Testing htmlspecialchars_decode() : usage variations ***\n";
19 // loop through each element of the array to check htmlspecialchars_decode() function with all poss…
23 var_dump( htmlspecialchars_decode($value) );
24 var_dump( htmlspecialchars_decode($value, ENT_COMPAT) );
25 var_dump( htmlspecialchars_decode($value, ENT_NOQUOTES) );
26 var_dump( htmlspecialchars_decode($value, ENT_QUOTES) );
33 *** Testing htmlspecialchars_decode() : usage variations ***
H A Dhtmlspecialchars_decode_variation4.phpt2 Test htmlspecialchars_decode() function : usage variations - single quoted strings for 'string' arg…
6 * Testing htmlspecialchars_decode() with various single quoted strings as argument for $string
9 echo "*** Testing htmlspecialchars_decode() : usage variations ***\n";
20 // loop through each element of the values array to check htmlspecialchars_decode() function with a…
24 var_dump( htmlspecialchars_decode($value) );
25 var_dump( htmlspecialchars_decode($value, ENT_COMPAT) );
26 var_dump( htmlspecialchars_decode($value, ENT_NOQUOTES) );
27 var_dump( htmlspecialchars_decode($value, ENT_QUOTES) );
34 *** Testing htmlspecialchars_decode() : usage variations ***
H A Dhtmlspecialchars_decode_variation3.phpt2 Test htmlspecialchars_decode() function : usage variations - heredoc strings for 'string' argument
6 * testing htmlspecialchars_decode() with various heredoc strings as argument for $string
9 echo "*** Testing htmlspecialchars_decode() : usage variations ***\n";
59 // loop through $res_heredoc_strings array and check the working on htmlspecialchars_decode()
63 var_dump( htmlspecialchars_decode($res_heredoc_strings[$index]) );
70 *** Testing htmlspecialchars_decode() : usage variations ***
H A Dhtmlspecialchars_decode_variation7.phpt2 Test htmlspecialchars_decode() function : usage variations - numerical entities for basic characters
17 $dec = htmlspecialchars_decode($t, ENT_QUOTES | ENT_HTML401);
28 $dec = htmlspecialchars_decode($t, ENT_QUOTES | ENT_XHTML);
39 $dec = htmlspecialchars_decode($t, ENT_QUOTES | ENT_HTML5);
50 $dec = htmlspecialchars_decode($t, ENT_QUOTES | ENT_XML1);
61 $dec = htmlspecialchars_decode($t, ENT_NOQUOTES | ENT_HTML5);
72 $dec = htmlspecialchars_decode($t, ENT_COMPAT | ENT_HTML5);
H A Dhtml_entity_decode1.phpt35 ($b = htmlspecialchars_decode($ent, ENT_QUOTES))) {
36 echo "htmlspecialchars_decode <-> html_entity_decode inconsistency","\n",
/php-src/ext/mbstring/tests/
H A Dbug65045.phpt15 echo bin2hex(htmlspecialchars_decode(htmlspecialchars($str, ENT_SUBSTITUTE, 'UTF-8'))), "\n";
16 echo bin2hex(htmlspecialchars_decode(htmlspecialchars($str2, ENT_SUBSTITUTE, 'UTF-8'))), "\n";
/php-src/Zend/tests/
H A Dbug36513.phpt6 …echo "'".trim(str_replace("&nbsp;", " ", htmlspecialchars_decode(strip_tags(highlight_string($s,1)…
/php-src/ext/standard/
H A Dhtml.c1346 PHP_FUNCTION(htmlspecialchars_decode) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php2277 function htmlspecialchars_decode(string $string, int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTM…
H A Dbasic_functions_arginfo.h2535 ZEND_FUNCTION(htmlspecialchars_decode);
3168 ZEND_FE(htmlspecialchars_decode, arginfo_htmlspecialchars_decode)

Completed in 31 milliseconds