我们使用json_encode() 函数,将一个php 数组转成了json 字符串。 将数组转化为JSON格式. 我们创建一个haicoder.php 文件,输入以下代码:. <?php $array = ...
確定! 回上一頁