6Which of the conditional statements is/are supported by PHP?i) if statementsii) if-else statementsiii) if-elseif statementsiv) switch statements1.0 Marksii), iii) and iv)i), ii), iii) and iv)i), ii) and iv) Only i)
Question
6Which of the conditional statements is/are supported by PHP?i) if statementsii) if-else statementsiii) if-elseif statementsiv) switch statements1.0 Marksii), iii) and iv)i), ii), iii) and iv)i), ii) and iv) Only i)
Solution
PHP supports all of the conditional statements listed. So, the correct answer is i), ii), iii) and iv).
Similar Questions
Which of the looping statements is/are supported by PHP?i) for loopii) while loopiii) do-while loopiv) foreach loopA.Only iv)B. i) and ii)C.i), ii) and iii)D.i), ii), iii) and iv)
Which one is NOT a valid PHP comparison operator?Question 18Select one:a.!=b.<>c.!<d.===
Which of the following is the correct syntax to write PHP code?Group of answer choices< ? php ?><?php ?>< php ><? ?>
Which of the following is the correct syntax to write a PHP code?a) <?php ?>b) < php >c) < ? php ?>d) <? ?>
What will be the output of the following PHP code?<?php$x = 10;$y = 20;if ($x > $y && 1||1) print "PHP MCQ TEST!" ;else print "Welcome to Marwadi University!";?>Group of answer choiceserrorWelcome to Marwadi University!PHP MCQ TEST!no outpu
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.