To log all error types except for 'E_NOTICE', set the error_reporting level to ________.
- E_ALL
- E_NOTICE
- E_ERROR
- E_WARNING
In PHP, the error_reporting function is used to set the error reporting level. E_ALL includes all error types, so to log all error types except for 'E_NOTICE', the correct option is E_ALL.
Loading...
Related Quiz
- What is a 'custom exception' and when should it be used?
- To output JSON formatted data, CodeIgniter's ________ method in the controller can be utilized.
- What is the primary purpose of pagination in a CodeIgniter application?
- In a scenario where a CodeIgniter application is failing randomly, a unit test should focus on ________ to identify potential issues.
- In CodeIgniter, how can you roll back a transaction in case of an error?