When you run a PHP script, the PHP parser will do its best to report the problems it encounters. The handling behavior of error Reporting in PHP is determined by the configuration instructions in PHP configuration file php.ini. In addition, there
In the PHP website development, the error (Bugs) debugging and solves is the essential part, in the website debugging stage, the error message can give us the very big help, when the website on-line, we should also display the original error message
In many cases, our PHP files will appear some very difficult to troubleshoot the error, such as the output of Great white page, tuning the wrong. It is possible that PHP's error level masks some non-fatal errors, causing no error prompts. So
In our program development, we often encounter program running errors. PHP will give different prompts based on the program error level. For example, what warnings, errors, and other errors can be set. if there are only some small errors, we can
In many cases, php files may encounter some very difficult-to-troubleshoot errors, such as output of large white pages. It is possible that the PHP error level shields some non-fatal errors, resulting in no error prompt. So understanding and
The error_reporting () function kneels and you give the PHP error which should be reported. This
function to set the error_reporting instruction at run time.
PHP has many error levels that you can use to set the level at which the script runs. If
Recently, the younger brother in the process of writing PHP found PHP hint PHP notice: ...... The words, although this is only PHP hint content, and no big impact, but for security and aesthetic considerations, the younger brother still want to
Error Reporting Level: Specifies the circumstances under which the error in the script code (where the error is generalized, including e_notice attention, e_warning warning, e_error fatal error, etc.) is output in the form of an error report.
To
PHP error handling, PHP error
In PHP, the default error handling is simple. An error message is sent to the browser with a file name, line number, and a message that describes the error.
PHP Error Handling
Error handling is an important part of
Website-back-end error reporting mechanism [original] based on the needs of project development, summarizes common error reminders for website development, including the error prompt page and the bounce after the login page is returned, both of them
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.