ExamVeda
Login
Home
This question belongs to PHP Functions
Functions
?

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

Answer & Solution
Correct Answer: Option B
Argument is 0.
Examveda
Question posted by Examveda
Community

Join the Discussion

2 Comments
Shalani Kaushalya
Shalani Kaushalya 4 years ago
answer is D not B
Shalani Kaushalya
Shalani Kaushalya 4 years ago
answer D not B