MCQ Practice Single Best Answer Topic: Functions in PHP MCQ

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

Question ID
#2428
Subchapter
Functions in PHP MCQ
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A welcome to India
  • B welcome to india
  • C Welcome to India
  • D Welcome to india
Correct Answer: A

Explanation

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

Share This Question

Share this MCQ with your friends or study group.