Q. Which PHP filter removes unsafe characters from a string?
β
Correct Answer: (A)
FILTER_SANITIZE_STRING
Explanation: It removes or encodes unsafe characters.