Notes: What kinds of error prompts and error checking methods does PHP have?

WBOY
Release: 2016-08-08 09:21:20
Original
994 people have browsed it

What are the error messages in php

1.notice: Note

2.waring: Warning

3.error: What are the error checking methods in

PHP ?

1. Syntax check--in the php configuration file, turn on the error display options or add error_reporting(E_ALL) at the beginning of the code
2. Logic check--set breakpoints and write log error_logs( before the breakpoint $message);exit();
3. HTTP debugging--use packet capture tools or firebugs tools to track the entire process of code running

The above introduces the notes: What kinds of error prompts and error checking methods does PHP have, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!