PHP - Conditional Statements
Which statement best describes the role of the
else block in an if-else structure?else block in an if-else structure?if and else rolesif block runs when the condition is true; the else block runs when it is false.else runs only if if is falseelse is the alternative path when if fails.if condition is false. -> Option Aelse runs if if false [OK]else runs only when if is false [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions