Notice:use of undefined constant out-assumed ' out ' in d:wampwwwdaoruindex.php on line 4 solution

Source: Internet
Author: User

These are PHP hints rather than errors, and PHP itself does not need to declare variables in advance to be used directly, but is prompted for undeclared variables. Generally as a formal website will turn off the prompts

, and even the error message is turned off:

1. Add error_reporting (E_all & ~e_notice) at the beginning; This sentence indicates that all error messages except E_notice are removed because the post array is an empty array, and this method in the code applies to the subsequent

2. If you feel that the above method is not complete, you can also turn off the PHP prompt function: Search php.ini:error_reporting = E_all instead: error_reporting = e_all & ~e_notice

Notice:use of undefined constant out-assumed ' out ' in d:wampwwwdaoruindex.php for line 4 workaround

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.