相反,json_decode()就是將Json轉換成PHP陣列。 例如: $array = array("name" => "Eric","age" => 23); echo json_encode($array);.
確定! 回上一頁