?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
$x = 1;
if ($x = $x& 0)
print $x;
else
break;
?>
<?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.
Join the Discussion
Login to post a comment or share your explanation.
Login