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

<?php
echo $x-- != ++$x;
?>

92.
What will be the output of the following PHP code ?
<?php
$auth = 1;
$status = 1;
if ($result = (($auth == 1) && ($status != 0)))
{
    print "result is $result";
}
?>

93.
What will be the output of the following PHP code ?
<?php
$i = 0;
while ($i = 10)
{   
    print "hi";
}
print "hello";
?>

94.
What will be the output of the following PHP code ?
<?php
$i = "";
while ($i = 10)
{   
    print "hi";
}
print "hello";
?>

95.
What will be the output of the following PHP code ?
<?php
$i = 5;
while (--$i > 0)
{   
    $i++;
    print $i;
    print "hello";
}
?>

96.
What will be the output of the following PHP code ?
<?php
$i = 5;
while (--$i > 0 && ++$i)
{   
    print $i;
}<
?>

97.
What will be the output of the following PHP code ?
<?php
$i = 5;
while (--$i > 0 || ++$i)
{   
    print $i;
}
?>

98.
What will be the output of the following PHP code ?
<?php
$i = 0;
while(++$i || --$i)
{   
    print $i;
}
?>

99.
What will be the output of the following PHP code ?
<?php
$i = 0;
while (++$i && --$i)
{   
    print $i;
}
?>

100.
What will be the output of the following PHP code ?
<?php
$i = 0;
while ((--$i > ++$i) - 1)
{   
    print $i;
}
?>

Read More Section(Operators and Expressions in php)

Each Section contains maximum 100 MCQs question on Operators and Expressions in php. To get more questions visit other sections.