Home » PHP » PHP Functions » Question
  1. What will be the output of the following PHP code ?
    <?php
    function fun($number)
    {
    $number = 5 + $number;
    echo $number;
    }
    fun(7);
    ?>
    1. 5
    2. 7
    3. 12
    4. Error
    5. None of these
Correct Option: C

Simple arithmetic operation.



Your comments will be displayed only after manual approval.