Q. Which function is used to convert a JSON string into a PHP variable?

  • (A) json_decode()
  • (B) json_parse()
  • (C) decode_json()
  • (D) json_unserialize()
πŸ’¬ Discuss
βœ… Correct Answer: (A) json_decode()
Explanation: json_decode() decodes a JSON string into a PHP variable.
Explanation by: Mr. Dubey
json_decode() decodes a JSON string into a PHP variable.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
72
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate