Php display error message

Source: Internet
Author: User
The error message displayed in php is very difficult. If a program is set to error_reporting (E_ALL), the error message is not displayed. if the program becomes normal, the program does not set error_reporting (E_ALL). If the program fails, the error message is not displayed. Ah. So I don't know what happened. In this case, how do I know where the error is reported? ------ Solution ----------------- error message displayed in php
This is a very difficult problem. One program
Put error_reporting (E_ALL); and the error message is not displayed because the program becomes normal.
If error_reporting (E_ALL) is disabled, an error occurs in the program, but no error message is displayed. Ah. So I don't know what happened. In this case, how do I know where the error is reported?

------ Solution --------------------
You need to see your code.
------ Solution --------------------
Check for error or notice, or the text cannot be written.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.