Vidyalelo
PHP · Q19

Functions

Programming · PHP · question 19

Q19

What will be the output of the following PHP code?

A.
I love my country
B.
i love my Country
C.
I love my Country
D.
I Love My Country
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
The ucwords() function converts the first character of each word in a string to uppercase.