"> What will be the output of the following PHP code ?<?php$Country=

Home » PHP » PHP Syntax » Question
  1. What will be the output of the following PHP code ?
    <?php
    $Country= India;
    echo "$Country" . India;
    ?>
    1. nothing
    2. error
    3. India
    4. IndiaIndia
    5. None of these
Correct Option: B

Use of undefined constant India.



Your comments will be displayed only after manual approval.