Home » PHP » PHP Functions » Question
  1. What will be the output of the following PHP code ?
    <?php
    function Example($int)
    {
    if ($int == 10)
    echo "First Condition Executed...\n";
    if ($int == 20)
    echo "Second Condition Executed...";
    }
    Example(10);
    EXAMPLE(20);
    ?>
    1. Second Condition Executed...
    2. First Condition Executed...
    3. First Condition Executed...
      Second Condition Executed...
    4. Error
    5. None of these
Correct Option: C

Function Is case Insensitive.



Your comments will be displayed only after manual approval.