Problem Statement
What is a good practice for error display in production?
Explanation
In production, sensitive error messages should not be visible to users. Instead, errors should be logged securely for developers to review later.
Code Solution
SolutionRead Only
ini_set('display_errors',0); ini_set('log_errors',1);Practice Sets
This question appears in the following practice sets:
