... echo json_encode($data);. The example transforms a PHP array into a JSON string. $ php -S localhost:8000 encode.php.
確定! 回上一頁