封装的解压数据函数:
base64_encode() , 使用 base64 对 data 进行编码。 base64_decode() , 对 base64 编码的 data 进行解码。 gzcompress() , 压缩字符串,参数1:字符串,参数2:压缩级别,参数3:编码 gzuncompress() , 解压字符串,参数1:字符串,参数2:长度。 json_encode() , 对变量进行JSON编码。 json_decode() , 对 JSON 格式的字符串进行解码。 html_entity_decode() , 把 HTML 实体转换为字符。 htmlentities() 函数把字符转换为 HTML 实体。