What will be the output of the following PHP code ?
<?php
$x;
if ($x == 0)
print "hi" ;
else
print "how are u";
print "hello"
?>
<?php
$x;
if ($x == 0)
print "hi" ;
else
print "how are u";
print "hello"
?>
A. how are uhello
B. hihello
C. hi
D. no output
Answer: Option B
Join The Discussion