Question

Which function is used to convert Ampersands(&) to &, Double quotes("") to " in PHP

A htmlDecode()
B regex
C htmlspecialchars()
D parse()
Answer & Explanation
Option: [C]