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

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

WBOY
Release: 2016-07-13 09:47:01
Original
888 people have browsed it

Notes: What kinds of error prompts and error checking methods are there in php? 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. 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 a breakpoint before the breakpoint Write log error_logs($message);exit();

3. HTTP debugging--use packet capture tool or firebugs tool to track the entire process of code running


http://www.bkjia.com/PHPjc/1029363.html
www.bkjia.com

true

http: //www.bkjia.com/PHPjc/1029363.htmlTechArticleNotes: What kinds of error prompts and error checking methods are there in php? What kinds of error prompts are there in php error prompts? 1.notice: note 2.waring: warning 3.error: error What are the error checking methods in PHP...
Related labels:
php
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