Question
What will be the output of the following PHP code?
< ?php
echo ucwords("i love my country");
?>
< ?php
echo ucwords("i love my country");
?>
Answer: Option D
Was this answer helpful ?
The ucwords() function converts the first character of each word in a string to uppercase.
Was this answer helpful ?
Submit Solution