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

Home » PHP » PHP Syntax » Question
  1. What will be the output of the following PHP code ?
    <?php
    $Team1 = "Chennai Super King";
    $Team2 = "Mumbai Indian";
    echo "$Team1 " . "$Team2";
    ?>
    1. Chennai Super King
    2. Error
    3. Mumbai Indian
    4. Nothing
    5. Chennai Super King Mumbai Indian
Correct Option: E

The . operator is used to join to strings.



Your comments will be displayed only after manual approval.