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

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

You can not have php tags inside a php tag.



Your comments will be displayed only after manual approval.