Searched refs:htmlspecialchars_decode (Results 1 – 12 of 12) sorted by relevance
/PHP-8.3/ext/standard/tests/strings/ |
H A D | htmlspecialchars_decode_basic.phpt | 2 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 D | htmlspecialchars_decode_variation6.phpt | 2 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 D | htmlspecialchars_decode_variation5.phpt | 2 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 D | htmlspecialchars_decode_variation4.phpt | 2 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 D | htmlspecialchars_decode_variation3.phpt | 2 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 D | htmlspecialchars_decode_variation7.phpt | 2 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 D | html_entity_decode1.phpt | 35 ($b = htmlspecialchars_decode($ent, ENT_QUOTES))) { 36 echo "htmlspecialchars_decode <-> html_entity_decode inconsistency","\n",
|
/PHP-8.3/ext/mbstring/tests/ |
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";
|
/PHP-8.3/Zend/tests/ |
H A D | bug36513.phpt | 6 …echo "'".trim(str_replace(" ", " ", htmlspecialchars_decode(strip_tags(highlight_string($s,1)…
|
/PHP-8.3/ext/standard/ |
H A D | html.c | 1352 PHP_FUNCTION(htmlspecialchars_decode) in PHP_FUNCTION() argument
|
H A D | basic_functions.stub.php | 2253 function htmlspecialchars_decode(string $string, int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTM…
|
H A D | basic_functions_arginfo.h | 2433 ZEND_FUNCTION(htmlspecialchars_decode); 3068 ZEND_FE(htmlspecialchars_decode, arginfo_htmlspecialchars_decode)
|
Completed in 46 milliseconds