Error message for debugging PHP programmers? Enable the error report in the php. ini file and set the error report level :? The display_errors variable has an obvious purpose-it tells PHP whether an error is displayed. The default value is Off. However, to make the development process easier, set this value to the default value of the On: display_errorsOnerror_reporting variable to Debug PHP programmers.
Error message
?
Enable the error report in the php. ini file and set the error report level:
?
The display_errors variable has an obvious purpose-it tells PHP whether an error is displayed. The default value isOff. However, to make the development process easier, set this valueOn:
error_reportingThe default value of the variable isE_ALL. This setting displays all information from poor coding practices to harmless prompts to errors.E_ALLThe development process is a little too detailed, because it displays a prompt on the screen for some trivial matters (for example, the variable is not initialized), it will mess up the browser output. I only want to see errors and bad code practices, but do not want to see harmless prompts. Therefore, replace the following valueserror_reportingDefault value:
?
error_reporting = E_ALL & ~E_NOTICE |
Restart Apache and set all the settings.
1 floor Mybeautiful 2012-05-30
Programmers cannot perform debugging.