摘要:
json_encode ( mixed $value ) — 对变量进行 JSON 编码 中文只能接受 UTF-8 编码的数据 json_decode ( string $json [, bool $assoc ] ) — 对 JSON 格式的字符串进行编码 有中文时必须先转码UTF-8,当$assoc参数为 TRUE 时,将返回 array 而非 object 。 阅读全文
posted @ 2012-02-29 12:17
skillCoding
阅读(1949)
评论(0)
推荐(0)

浙公网安备 33010602011771号