Vidyalelo
PHP · Q49

Functions

Programming · PHP · question 49

Q49

What will be the output of the following PHP code ?

A.
TIME TO LIVE KING SIZE
B.
Time to live king size
C.
Uppercase
D.
Time To Live King Size
Answer

Answer: Option D

Solution

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