A

Admin • 833.24K Points
Coach

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()
  • Correct Answer - Option(A)
  • Views: 29
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

json_decode() decodes a JSON string into a PHP variable.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.