Home >Backend Development >PHP Problem >Turn off php warning prompts
How to turn off the php warning prompt:
Method 1:
Modify the following properties in the php.ini file
display_errors = Off error_reporting = E_ALL
Method 2:
Write at the beginning of the php file:
<?php error_reporting(0); ?>
For more related content, please pay attention to php中文网.
The above is the detailed content of Turn off php warning prompts. For more information, please follow other related articles on the PHP Chinese website!