Q. Which PHP function converts a JSON string into a PHP variable?
β
Correct Answer: (A)
json_decode()
Explanation: json_decode() parses JSON strings into PHP variables.