Welcome Guest, Not a member yet? Register   Sign In
What is the expected output of ini_set('display_errors', 0)?
#4

(09-08-2020, 07:19 AM)php_rocs Wrote: @ferdy,

Maybe these links can help you...
https://codeigniter.com/userguide3/gener...r-handling
https://codeigniter.com/userguide3/gener...-reporting

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?
Reply


Messages In This Thread
RE: What is the expected output of ini_set('display_errors', 0)? - by ferdy - 09-09-2020, 02:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB