Dit artikel is niet beschikbaar in het Dutch, weergeven in het English
decode_html
TABLE OF CONTENTS
Decode an encoded html string
Definition
string decode_html(string $string)
Decodes an HTML encoded string.
Parameters
string $string
HTML encoded string.
Returns
string
An HTML decoded string.
Examples
Transformation
{
a: decode_html(`Is ½ < ¾?`),
b: decode_html(`£ & ¥ are currency symbols.`)
}Result
{
"a": "Is ½ < ¾?",
"b": "£ & ¥ are currency symbols."
}Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article