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

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

If you need to output something onto the screen you’ll need to use echo or print.



Your comments will be displayed only after manual approval.