"> What will be the output of the following PHP code ?<?phpfunction

Home » PHP » PHP Functions » Question
  1. What will be the output of the following PHP code ?
    <?php
    function First($str)
    {
    echo "This is ". $Str;
    }
    First("Important");
    ?>
    1. Important
    2. This is
    3. Error
    4. This is Important
    5. None of these
Correct Option: C

Variable Undeclared) $str is not the same as $Str.



Your comments will be displayed only after manual approval.