Home » PHP » PHP Syntax » Question
  1. What will be the output of the following PHP code ?
    <?php
    $Country1 = "INDIA";
    $Country2 = "1";
    $Country3 = "USA";
    echo "$Country1" + "$Country2" . "$Country3";
    ?>
    1. USA
    2. INDIA
    3. INDIA1
    4. 1
    5. 1USA
Correct Option: E

+ gives the value 1 and . is used to give join 1 and USA.



Your comments will be displayed only after manual approval.