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

Home » PHP » PHP Echo/Print » Question
  1. What will be the output of the following PHP code ?
    <?php
    echo "Hello Interview Mania \nI am learning PHP";
    ?>
    1. Hello Interview Mania
    2. Error
    3. I am learning PHP
    4. Hello Interview Mania
      I am learning PHP
    5. None of these
Correct Option: D

The break tag is used as break line.



Your comments will be displayed only after manual approval.