摘要: /** * $str 原始中文字符串 * $encoding 原始字符串的编码,默认GBK * $prefix 编码后的前缀,默认"&#" * $postfix 编码后的后缀,默认";" */ function unicode_encode($str, $encoding = 'GBK', $prefix = '&#', $postfix = ';') { $str = iconv($encodi 阅读全文
posted @ 2019-12-18 17:03 斌-逸风 阅读(2384) 评论(0) 推荐(0) 编辑
摘要: 连接redis 常用方法 集合相关方法 有序集合相关方法: 列表 哈希 阅读全文
posted @ 2019-12-18 16:17 斌-逸风 阅读(5053) 评论(0) 推荐(0) 编辑