What will be the output of the following PHP code ?
<?php
$x = 1;
if ($x = $x& 0)
print $x ;
else
print "how are u";
?>
<?php
$x = 1;
if ($x = $x& 0)
print $x ;
else
print "how are u";
?>A. 0
B. 1
C. error
D. how are u
Answer: Option D

Join The Discussion