Home > Backend Development > PHP Tutorial > Notes: What kinds of error prompts and error checking methods does PHP have?

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-08 09:21:20
Original
1055 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:
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template