?
What will be the output of the following PHP code?
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 & Solution
Correct Answer:
Option
D
The ucwords() function converts the first character of each word in a string to uppercase.
Join the Discussion
Login to post a comment or share your explanation.
Login