摘要: 原文链接:http://www.jb51.net/article/30489.htmjson_decode对JSON格式的字符串进行编码而json_encode对变量进行 JSON 编码,需要的朋友可以参考下1.json_decode()json_decode (PHP 5 >= 5.2.0, PECL json >= 1.2.0) json_decode — 对 JSON 格式的字符串进行编码 说明 mixed json_decode ( string $json [, bool $assoc ] ) 接受一个 JSON 格式的字符串并且把它转换为 PHP 变量 参数 json 阅读全文
posted @ 2013-04-30 14:49 回首郑板桥 阅读(446) 评论(2) 推荐(0) 编辑