display_errors¶
display_errors configures the display of PHP errors, warnings and notices to the standard output. By default, it is on, with the value 1.
In production environments, it is recommended to set display_errors to 0. The error messages should be send to a logging system, for further exploitation. Otherwise, it is considered a data leak, and may lead to a vulnerability.
See also Display Errors.
Related : Data Leak, Environment, Error Reporting, html_errors, set_error_handler()