doc-en icon indicating copy to clipboard operation
doc-en copied to clipboard

display_errors only documents 2 values

Open kale1d0code opened this issue 2 years ago • 1 comments

From manual page: https://php.net/errorfunc.configuration

Documentation for display_errors is incomplete. I had to look around for 2 hours for the information I needed.

you should explain what the setting does, and its possible values. Example taken from https://www.simplified.guide/php/suppress-warning-error

This directive controls whether or not and where PHP will output errors, notices and warnings too. Error output is very useful during development, but it could be very dangerous in production environments. Depending on the code which is triggering the error, sensitive information could potentially leak out of your application such as database usernames and passwords or worse. For production environments, we recommend logging errors rather than sending them to STDOUT. Possible Values: Off = Do not display any errors stderr = Display errors to STDERR (affects only CGI/CLI binaries!) On or stdout = Display errors to STDOUT Default Value: On Development Value: On Production Value: Off

kale1d0code avatar Jun 12 '23 10:06 kale1d0code