The chars <, >, and & may need to be converted to <, > and & via the html entities function htmlentities
$a = "<hello&>";
$b = htmlentities($a);
echo $b;
# <hello&>The chars <, >, and & may need to be converted to <, > and & via the html entities function htmlentities
$a = "<hello&>";
$b = htmlentities($a);
echo $b;
# <hello&>