Documentation

htmlspecialcharsBack

string
htmlspecialcharsBack(
 string text
);

The function converts text from HTML safe format to the human-readable form, performing the following substitutions:
Original symbolsAfter replacement
&lt; <
&gt; >
&quot; "
&amp; &

Function parameters

ParameterDescription
text Text to be converted.

See Also

Examples of use

<?
$text = '&quot;если a&gt;b и b&gt;c, то a&gt;c&quot;'
$res = htmlspecialcharsBack($str);
// $res now contains: 
// "if a>b and b>c, then a>c"
?>


© «Bitrix24», 2001-2024
Up