Discussion :: PHP - CS
-
What will be the output of the following PHP code ?
<?php
$x;
if ($x == 0)
print "hi" ;
else
print "how are u";
print "hello"
?>
Answer : Option B
Explanation :
else condition without brackets performs the following statements only.
Be The First To Comment