Q. Which function is used to convert a string to uppercase in PHP?
β
Correct Answer: (A)
strtoupper()
Explanation: strtoupper() converts all characters in a string to uppercase.