In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the relevant knowledge of "what does warning mean in php". The editor shows you the operation process through an actual case. The operation method is simple and fast, and it is practical. I hope this article "what does warning mean in php" can help you solve the problem.
In php, warning means "warning", is an error level, is non-fatal, and does not affect subsequent code execution. The warning warning error indicates that during execution, PHP finds something unreasonable in the program and prompts a warning message, but the program continues to execute.
Operating environment of this tutorial: windows7 system, PHP7.1 version, DELL G3 computer
Warning is an error level for PHP and is non-fatal, that is, subsequent scripts can still run normally after the warning occurs.
Indicates that during execution, PHP finds something unreasonable in the program and prompts a warning message, but the program continues to execute.
Common reasons for WARNING error reporting in PHP:
Cannot connect to the database
A new PHP document will generate a WARNING warning error because the user name and password of the connection data are incorrect
WARNING-level warning errors are non-fatal and do not affect subsequent code execution
Use the error_reporting () function to turn off warning warning errors, for example:
Error_reporting (E _ all ^ E _ WARNING)
Once set, the PHP script ignores this error, and the subsequent code executes normally
This is the end of the content about "what does warning mean in php"? thank you for your reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.