adplus-dvertising
frame-decoration

Question

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);
?>

a.

Less Than 0

b.

Not True

c.

No Output

d.

None of the Mentioned

Posted under PHP

Answer: (b).Not True

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs