Q. Which PHP function converts a string to uppercase?

  • (A) upper()
  • (B) strtoupper()
  • (C) toUpper()
  • (D) string_upper()
πŸ’¬ Discuss
βœ… Correct Answer: (B) strtoupper()
Explanation: strtoupper() converts a string to uppercase.
Explanation by: Yami Thakur
strtoupper() converts a string to uppercase.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
45
Total Visits
πŸ“½οΈ
7 mo ago
Published
πŸŽ–οΈ
Yami Thakur
Publisher
πŸ“ˆ
87%
Success Rate