Home »
MCQs »
PHP MCQs
Which PHP statement is used to select one of many blocks of code to be executed?
88. Which PHP statement is used to select one of many blocks of code to be executed?
- The if statement
- The if...else statement
- The switch statement
- The select statement
Answer: C) The switch statement
Explanation:
The switch statement is used to select one of many blocks of code to be executed.