81.1k views
5 votes
The ________ multiple-selection PHP statement is used to handle decision making and can be used to replace multiple if and if...else statements. 1. case 2. do...while 3. break 4. switch

1 Answer

7 votes

Answer:

Option (4) is the correct answer of this question.

Step-by-step explanation:

The switch is used to handle the multiple selections in the program when we need to choose on the condition and we have more then one condition arises then we have used the switch statement in the PHP.

Syntax of using Switch:-

switch(variable)

{

case 1. statement

Break;

..................

default :

case n:

statement n

}

Other options do not use multiple selections so they are incorrect options.

User Rvf
by
6.0k points