**限制输出字符** ``` app::cout($res['title'], 10) ``` **HTML、数组等敏感数据进行编码和解码** 编码 ``` base64_encode(serialize($forms['pv'])) ``` 解码 ``` unserialize(base64_decode($forms['pv'])) ``` *****