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