以下实例演示了如何将PHP 数组转换为JSON 格式数据: <?php $arr = array('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5); echo json_encode($arr); ?>.
確定! 回上一頁