21.
What will be the output of the following PHP code ?
<?php
$x = 1;
if ($x = $x& 0)
    print $x ;
else
    print "how are u";
?>

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

23.
What will be the output of the following PHP code ?
<?php
$x = 10;
$y = 5;
$z = 3;
if ($x / $y / $z)
    print "hi";
else
    print "hello";
?>

24.
What will be the output of the following PHP code ?
<?php
if (!print "hi")
    if (print "hello")
print "hi";
?>

25.
What will be the output of the following PHP code ?
<?php
if (print "hi" - 1)
    print "hello"
?>

Read More Section(Control Structures(Loop in PHP))

Each Section contains maximum 70 questions. To get more questions visit other sections.