Q. Which function is used to decode JSON data in PHP?
β
Correct Answer: (A)
json_decode()
Explanation: json_decode() takes a JSON string and converts it into a PHP variable.