Examveda
Examveda

What will be the output of the following PHP code?
<?php
echo lcfirst("welcome to India");
?>

A. welcome to India

B. welcome to india

C. Welcome to India

D. Welcome to india

Answer: Option A

Solution(By Examveda Team)

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

This Question Belongs to PHP >> Functions

Join The Discussion

Related Questions on Functions