In a switch statement, what is used to match multiple values to a single case?
- case
- :
- break
- comma operator
In a switch statement, you can use the 'case' keyword to match multiple values to a single case, allowing multiple values to execute the same block of code.
Loading...
Related Quiz
- In PDO, the placeholders used in prepared statements can be either named or ________.
- Which of the following are true about Form Handling in PHP?
- Which keyword is used in PHP to handle exceptions?
- For secure user authentication, what additional measure can be used along with a password to enhance security?
- You want to check if a certain constant has been defined in your PHP script. How would you do this?