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

Home » PHP » PHP Syntax » Question
  1. What will be the output of the following PHP code ?
    <?php
    Echo "Hello\n";
    echo "Interview\n";
    ECHO "Mania";
    ?>
    1. Hello
    2. Interview
    3. Mania
    4. Hello
      Interview
      Mania
    5. None of these
Correct Option: D

In PHP, all user-defined functions, classes, and keywords (e.g. if, else, while, echo, etc.) are case-insensitive.



Your comments will be displayed only after manual approval.