Home  >  Article  >  Backend Development  >  Solution to Notice: Undefined variable appearing on the page_PHP Tutorial

Solution to Notice: Undefined variable appearing on the page_PHP Tutorial

WBOY
WBOYOriginal
2016-07-13 17:30:381493browse

This is php(as the current mainstream development language) warning message, which is caused by undefined variables.

Solution:

Modify php (as the current mainstream development language) .ini

will: error_reporting = E_ALL

Modify to: error_reporting = E_ALL & ~E_NOTICE

If you don’t want any errors to be displayed, modify them directly:

display_errors = Off

Everything is OK, no errors will be displayed now.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/509158.htmlTechArticleThis is a PHP (as the current mainstream development language) warning message, caused by undefined variables. Solution: Modify php (as the current mainstream development language) .ini will be: error_re...
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