📅  最后修改于: 2022-03-11 14:53:36.445000             🧑  作者: Mango
代码示例2
htmlspecialchars($string, ENT_XML1 | ENT_QUOTES, 'UTF-8');// will convert ' to ' in addition to &, <, > and "( not | )