PHP - String Functions
Which PHP function converts all letters in a string to uppercase?
$text = "hello world";$text = "hello world";strtoupper() converts all characters in a string to uppercase letters.strtolower() makes all letters lowercase, ucfirst() capitalizes only the first letter, and ucwords() capitalizes the first letter of each word.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions