πŸ“Š PHP
Q. Which function is used to decode JSON data in PHP?
  • (A) json_decode()
  • (B) decode_json()
  • (C) parse_json()
  • (D) json_parse()
πŸ’¬ Discuss
βœ… Correct Answer: (A) json_decode()

Explanation: json_decode() takes a JSON string and converts it into a PHP variable.

Explanation by: Rati Dubey
json_decode() takes a JSON string and converts it into a PHP variable.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
65
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
82%
Success Rate