"> What will be the output of the following PHP code?<?phpecho

Home » PHP » PHP Functions » Question
  1. What will be the output of the following PHP code?
    <?php
    echo lcfirst("WELCOME TO INTERVIEW MANIA!");
    ?>
    1. WELCOME TO INTERVIEW MANIA!
    2. welcome to interview mania!
    3. Welcome To Interview Mania!
    4. WELCOME to interview mania!
    5. wELCOME TO INTERVIEW MANIA!
Correct Option: E

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



Your comments will be displayed only after manual approval.