PHP - File Handling
Which PHP function converts a PHP array into a JSON formatted string?
json_encode() converts PHP arrays or objects into JSON strings.json_decode() does the opposite, and the others are not valid PHP functions.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions