Q. Which function is used to convert a string to uppercase in PHP?

  • (A) strtoupper()
  • (B) strtouppercase()
  • (C) toupper()
  • (D) upper()
πŸ’¬ Discuss
βœ… Correct Answer: (A) strtoupper()
Explanation: strtoupper() converts all characters in a string to uppercase.
Explanation by: Rati Dubey
strtoupper() converts all characters in a string to uppercase.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
81
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
89%
Success Rate