URL details: hoangphuctv.github.io/blog/hoc-php-qua-vi-du/php-json.html
URL title:
Làm việc với JSON trong PHP. | Lập trình
URL paragraphs:
$user = [ 'id' => 1, 'username' => 'admin', ]; echo json_encode($user); Kết quả: {"id":1,"username":"admin"} Nếu muốn format đẹp hơn ta cho thêm tham số: echo json_encode($user, JSON_PRETTY_PRINT); Kết quả: { "id": 1, "username": "admin"
URL last crawled:
2022-12-23
URL speed:
145.000 MB/s,
downloaded in 0.001 seconds
We found no external links pointing to this url.