Q. What does the PHP function htmlspecialchars() do?
β
Correct Answer: (A)
Converts special characters to HTML entities
Explanation: It converts characters like <, >, & to their HTML-safe equivalents.