"> 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";
    echo "$COUNTRY";
    echo "$Country";
    ?>
    1. Error
    2. India
    3. IndiaIndiaIndia
    4. IndiaIndia
    5. None of these
Correct Option: B

In PHP, all variables are case-sensitive.



Your comments will be displayed only after manual approval.