Advertisements
Advertisements
Question
Write the usage of Switch Statement in PHP.
Short/Brief Note
Advertisements
Solution
- The switch statement is used to perform different actions based on different conditions.
- Switch statements work the same as if statementsbut they can check for multiple values at a time.
shaalaa.com
Is there an error in this question or solution?
