= 0)echo "Not True";}mine(0);?>"/>
Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

  1. What will be the output of the following PHP code ?

    <?php

    function mine($m)

    {

    if ($m < 0)

    echo "less than 0";

    if ($ >= 0)

    echo "Not True";

    }

    mine(0);

    ?>

  2. A.

     Less Than 0

    B.

     Not True

    C.

     No Output

    D.

     None of the Mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Argument is 0.


Be The First To Comment