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";
?> Answer & Solution
Answer: Option
D
Solution:
x&0 is 0,thus evaluated to false.