PHP » GoLang |
login |
register |
about
|
GoLang htmlspecialchars_decodeGoLang replacement for PHP's htmlspecialchars_decode [Golang Play | edit | history]
htmlspecialchars_decode(PHP 5 >= 5.1.0, PHP 7) htmlspecialchars_decode — Convert special HTML entities back to characters Description
string htmlspecialchars_decode
( string
$string
[, int $flags = ENT_COMPAT | ENT_HTML401
] )This function is the opposite of htmlspecialchars(). It converts special HTML entities back to characters.
The converted entities are: &,
" (when Parameters
Return ValuesReturns the decoded string. Changelog
Examples
Example #1 A htmlspecialchars_decode() example
<?php The above example will output: <p>this -> "</p> <p>this -> "</p> See Also
|
more
Recently updated
more
Most requested
more
Last requests
|