php method to remove deprecated: 1. Find and open the "php/php.ini" file; 2. Modify the content to "error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_WARNING".
The operating environment of this article: Windows 7 system, PHP version 7.1, DELL G3 computer
How to remove php deprecated?
How to remove PHP warning, deprecate and other prompts
Open php/php.ini:
Modify
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
Just
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_WARNING
.
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of How to remove php deprecated. For more information, please follow other related articles on the PHP Chinese website!