Home
last modified time | relevance | path

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

/PHP-5.3/ext/standard/tests/strings/
H A Dhtmlspecialchars_decode_error.phpt2 Test htmlspecialchars_decode() function : error conditions
5 /* Prototype : string htmlspecialchars_decode(string $string [, int $quote_style])
10 echo "*** Testing htmlspecialchars_decode() : error conditions ***\n";
13 echo "\n-- Testing htmlspecialchars_decode() function with Zero arguments --\n";
14 var_dump( htmlspecialchars_decode() );
16 //Test htmlspecialchars_decode with one more than the expected number of arguments
21 var_dump( htmlspecialchars_decode($string, $quote_style, $extra_arg) );
26 *** Testing htmlspecialchars_decode() : error conditions ***
28 -- Testing htmlspecialchars_decode() function with Zero arguments --
30 Warning: htmlspecialchars_decode() expects at least 1 parameter, 0 given in %s on line %d
[all …]
H A Dhtmlspecialchars_decode_basic.phpt2 Test htmlspecialchars_decode() function : basic functionality
10 echo "*** Testing htmlspecialchars_decode() : basic functionality ***\n";
18 // Calling htmlspecialchars_decode() with default arguments
19 var_dump( htmlspecialchars_decode($single_quote_string) );
20 var_dump( htmlspecialchars_decode($double_quote_string) );
23 var_dump( htmlspecialchars_decode($single_quote_string, ENT_COMPAT) );
25 var_dump( htmlspecialchars_decode($single_quote_string, ENT_NOQUOTES) );
26 var_dump( htmlspecialchars_decode($double_quote_string, ENT_NOQUOTES) );
27 var_dump( htmlspecialchars_decode($single_quote_string, ENT_QUOTES) );
28 var_dump( htmlspecialchars_decode($double_quote_string, ENT_QUOTES) );
[all …]
H A Dhtmlspecialchars_decode_variation6.phpt2 Test htmlspecialchars_decode() function : usage variations - binary safe
5 /* Prototype : string htmlspecialchars_decode(string $string [, int $quote_style])
11 * testing whether htmlspecialchars_decode() is binary safe or not
14 echo "*** Testing htmlspecialchars_decode() : usage variations ***\n";
24 //loop through the strings array to check if htmlspecialchars_decode() is binary safe
29 var_dump( htmlspecialchars_decode($value) );
31 var_dump( bin2hex(htmlspecialchars_decode($value)));
40 *** Testing htmlspecialchars_decode() : usage variations ***
H A Dhtmlspecialchars_decode_variation1.phpt2 Test htmlspecialchars_decode() function : usage variations - unexpected values for 'string' argument
5 /* Prototype : string htmlspecialchars_decode(string $string [, int $quote_style])
11 * testing htmlspecialchars_decode() with unexpected input values for $string argument
14 echo "*** Testing htmlspecialchars_decode() : usage variations ***\n";
85 var_dump( htmlspecialchars_decode($value) );
95 *** Testing htmlspecialchars_decode() : usage variations ***
116 Warning: htmlspecialchars_decode() expects parameter 1 to be string, array given in %s on line %d
120 Warning: htmlspecialchars_decode() expects parameter 1 to be string, array given in %s on line %d
124 Warning: htmlspecialchars_decode() expects parameter 1 to be string, array given in %s on line %d
128 Warning: htmlspecialchars_decode() expects parameter 1 to be string, array given in %s on line %d
[all …]
H A Dhtmlspecialchars_decode_variation2.phpt2 Test htmlspecialchars_decode() function : usage variations - unexpected values for 'quote_style' ar…
5 /* Prototype : string htmlspecialchars_decode(string $string [, int $quote_style])
11 * testing htmlspecialchars_decode() by giving unexpected input values for $quote_style argument
14 echo "*** Testing htmlspecialchars_decode() : usage variations ***\n";
86 var_dump( htmlspecialchars_decode($string, $value) );
96 *** Testing htmlspecialchars_decode() : usage variations ***
115 Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchar…
120 Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchar…
125 Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchar…
130 Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchar…
[all …]
H A Dhtmlspecialchars_decode_variation5.phpt2 Test htmlspecialchars_decode() function : usage variations - double quoted strings for 'string' arg…
5 /* Prototype : string htmlspecialchars_decode(string $string [, int $quote_style])
11 * testing htmlspecialchars_decode() for various double quoted strings as argument for $string
13 echo "*** Testing htmlspecialchars_decode() : usage variations ***\n";
24 // loop through each element of the array to check htmlspecialchars_decode() function with all poss…
28 var_dump( htmlspecialchars_decode($value) );
29 var_dump( htmlspecialchars_decode($value, ENT_COMPAT) );
30 var_dump( htmlspecialchars_decode($value, ENT_NOQUOTES) );
31 var_dump( htmlspecialchars_decode($value, ENT_QUOTES) );
38 *** Testing htmlspecialchars_decode() : usage variations ***
H A Dhtmlspecialchars_decode_variation4.phpt2 Test htmlspecialchars_decode() function : usage variations - single quoted strings for 'string' arg…
5 /* Prototype : string htmlspecialchars_decode(string $string [, int $quote_style])
11 * Testing htmlspecialchars_decode() with various single quoted strings as argument for $string
14 echo "*** Testing htmlspecialchars_decode() : usage variations ***\n";
25 // loop through each element of the values array to check htmlspecialchars_decode() function with a…
29 var_dump( htmlspecialchars_decode($value) );
30 var_dump( htmlspecialchars_decode($value, ENT_COMPAT) );
31 var_dump( htmlspecialchars_decode($value, ENT_NOQUOTES) );
32 var_dump( htmlspecialchars_decode($value, ENT_QUOTES) );
39 *** Testing htmlspecialchars_decode() : usage variations ***
H A Dhtmlspecialchars_decode_variation3.phpt2 Test htmlspecialchars_decode() function : usage variations - heredoc strings for 'string' argument
5 /* Prototype : string htmlspecialchars_decode(string $string [, int $quote_style])
11 * testing htmlspecialchars_decode() with various heredoc strings as argument for $string
14 echo "*** Testing htmlspecialchars_decode() : usage variations ***\n";
64 // loop through $res_heredoc_strings array and check the working on htmlspecialchars_decode()
68 var_dump( htmlspecialchars_decode($res_heredoc_strings[$index]) );
75 *** Testing htmlspecialchars_decode() : usage variations ***
/PHP-5.3/Zend/tests/
H A Dbug36513.phpt6 …echo "'".trim(str_replace(" ", " ", htmlspecialchars_decode(strip_tags(highlight_string($s,1)…
/PHP-5.3/ext/standard/
H A Dhtml.h38 PHP_FUNCTION(htmlspecialchars_decode);
H A Dhtml.c1321 PHP_FUNCTION(htmlspecialchars_decode) in PHP_FUNCTION() argument
H A Dbasic_functions.c2694 PHP_FE(htmlspecialchars_decode, arginfo_htmlspecialchars_decode)
/PHP-5.3/
H A DNEWS6057 . htmlspecialchars_decode() (Ilia)

Completed in 49 milliseconds