In a switch-case structure, the ________ keyword is used to specify the default action when no case matches.
- if
- default
- else
- break
In a switch-case structure, the default keyword specifies the action when no case matches the switch expression.
Loading...
Related Quiz
- Which of the following are true about numbers in PHP?
- You're developing an e-commerce site and want to store user cart items temporarily. Which would be the most appropriate method to store this data without requiring user login?
- To delete a cookie in PHP, you can use the setcookie() function with an expiration date in the ______.
- Which of the following headers can help in mitigating CSRF attacks?
- What can be potential issues when working with indexed arrays in PHP?