ExamVeda
Login
Home
Control Structures(Loop in PHP)
?

What will be the output of the following PHP code ?
<?php
$x = 1;
if ($x = $x& 0)
    print $x;
else
    break;
?>

Answer & Solution
Correct Answer: Option C
break is not defined for a if else ladder.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.