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