Home >Backend Development >PHP Tutorial >A brief discussion on php error prompts and error checking methods, a brief discussion on php error prompts_PHP tutorial

A brief discussion on php error prompts and error checking methods, a brief discussion on php error prompts_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-13 09:46:38870browse

A brief discussion on php error prompts and error checking methods, a brief discussion on php error prompts

What kinds of error prompts are there in php

1.notice : Note

2.waring : warning

3.error : Error

What are the error checking methods in PHP?

1. Grammar 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 logs before the breakpoint error_logs($message);exit();
3. HTTP debugging--use packet capture tools or firebugs tools to track the entire process of code execution

The above is the entire content of this article, I hope you all like it.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1032051.htmlTechArticleA brief discussion of php error prompts and error checking methods, a brief discussion of php error prompts and what kinds of error prompts there are in php 1. notice : note 2.waring : warning 3.error : error What are the error checking methods in PHP? 1. ...
Statement:
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