What is the expected output of ini_set('display_errors', 0)? |
(09-08-2020, 07:19 AM)php_rocs Wrote: @ferdy, Thanks. I'm aware of those links but do not fully answer my question. Note this part: Setting the ENVIRONMENT constant to a value of ‘development’ will cause all PHP errors to be rendered to the browser when they occur. Conversely, setting the constant to ‘production’ will disable all error output. Disabling error reporting in production is a good security practice. My question remains: what should happen when disabling error output, yet an error occurs. What should the user see in that case? |
Welcome Guest, Not a member yet? Register Sign In |