Which statement could she use as a more efficient method?

Selena needs to check an expression against a range of values, and her PHP code uses many
elseif and if commands. Which statement could she use as a more efficient method?

Selena needs to check an expression against a range of values, and her PHP code uses many
elseif and if commands. Which statement could she use as a more efficient method?

A.
Theendif statement coupled with each elseif

B.
The switch statement

C.
The <OPTION> statement

D.
The //switch variable// command



Leave a Reply 0

Your email address will not be published. Required fields are marked *