"> 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("HELLO FRIENDS");
    ?>
    1. HELLO FRIENDS
    2. hello friends
    3. Hello Friends
    4. hELLO FRIENDS
    5. None of these
Correct Option: D

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



Your comments will be displayed only after manual approval.