L Lê Như Ý New member Sep 20, 2021 #1 What will be the output of the following PHP code? Code: <?php $a = 10; if (0) print "all"; if else print "some" ?> A. all B. some C. error D. no output
What will be the output of the following PHP code? Code: <?php $a = 10; if (0) print "all"; if else print "some" ?> A. all B. some C. error D. no output
N Nhật Hương Member Sep 20, 2021 #2 Answer: c Explanation: No else statement to end the if statement. Upvote 0 Downvote