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

Home » PHP » PHP Echo/Print » Question
  1. What will be the output of the following PHP code ?
    <?php
    $First = "First";
    $Second = "Second";
    print($First,$Second);
    ?>
    1. Error
    2. First
    3. Second
    4. Nothing
    5. None of these
Correct Option: A

The above syntax will produce an error, unlike the echo statement.



Your comments will be displayed only after manual approval.