"> What will be the output of the following PHP code? < ?php echo lcfirst(" "> " /> " />
Sail E0 Webinar
Question
What will be the output of the following PHP code?
< ?php
echo lcfirst("welcome to India");
?>
Options:
A .  welcome to India
B .  welcome to india
C .  Welcome to India
D .  Welcome to india
Answer: Option A


The lcfirst() function converts the first character of a string to lowercase.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers