string htmlspecialchars ( string $str )

Convert special characters to HTML entities in a string.

Result: