Whether the error message is displayed:
Display Error: Display_errors=on
Masking error message: Display_errors=off
Display of error message levels:
Error_reporting=e_all (All)
Error_reporting=e_all & ~e_noctice (except for noctice errors are shown)
Exceptions are special errors, exception handling using Try ..... Cath ..... Block.
|
constant |
description |
2 |
E_warning |
A non-fatal run-time error. Script execution is not paused. |
8 |
E_notice |
Run-time notice. The script discovers that an error may have occurred, but it may also occur when the script is running correctly. |
256 |
E_user_error |
A fatal user-generated error. This is similar to the e_error that programmers use to set the PHP function Trigger_error (). |
512 |
E_user_warning |
A non-fatal user-generated warning. This is similar to the e_warning that programmers use to set the PHP function Trigger_error (). |
1024 |
E_user_notice |
User-generated notifications. This is similar to the e_notice that programmers use to set the PHP function Trigger_error (). |
4096 |
E_recoverable_error |
A fatal error that can be caught. Similar to E_error, but can be captured by user-defined handlers. (see Set_error_handler ()) |
8191 |
E_all |
All errors and warnings, except level e_strict. (In PHP 6.0,e_strict is part of E_all) |
Configuring error messages in the face of an object