How to set php error reporting level

coldplay.xixi
Release: 2023-03-06 15:14:02
Original
3492 people have browsed it

How to set the php error reporting level: 1. Modify the error_reporting option in php.ini; 2. You can use the [error_reporting()] function to modify it in the php page.

How to set php error reporting level

How to set the error level of php:

1. How to modify the error level:

How to set php error reporting level

2. The error level is represented by a binary value: 1111 1111 1111 111 From left to right, the 1 on each bit represents an error level. The number represents:

How to set php error reporting level

3. Error reporting function code:

How to set php error reporting level

4. The system replaces the values ​​at each level with system constants for us.

How to set php error reporting level

5. During the development process, the error reporting level is higher. In the online product, the error reporting level is lower:

How to set php error reporting level

6. Summary of error levels:

How to set php error reporting level

If you want to know more about programming learning, please pay attention to the php training column!

The above is the detailed content of How to set php error reporting level. For more information, please follow other related articles on the PHP Chinese website!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!