Use PHP Custom Error Processor to process error information _ PHP Tutorial

Source: Internet
Author: User
Use the PHP Custom Error Processor to process error information. If you are a veteran of PHP, you certainly know what happens when a PHP script error occurs. At this time, the PHP parser will give an error message on the screen, such as Fatalerror: Calltoundefinedfunctiono. if you are a PHP veteran, you certainly know what happens when a PHP script error occurs. At this point, the PHP parser will give an error message on the screen, such as Fatal error: Call to undefined function on line 19 --, so the program ends here. This information will scare the customer, and he may immediately call you for consultation.

Fortunately, there is a solution here. PHP has built-in tools that allow developers to capture script errors and then transfer them to custom error processors. In this case, you can program and display the processor.

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.