What will be the output of the following PHP code ?
<?php
$a = "";
if ($a)
print "all";
if
else
print "some";
?>
<?php
$a = "";
if ($a)
print "all";
if
else
print "some";
?>
A. all
B. some
C. error
D. no output
Answer: Option B
Join The Discussion