What does this function actually do?
In addition to hiding error logs, developers often use the built-in front-end PHP and scripts error debugging feature, which displays code errors on the front-end. This provides hackers yet another way to find loopholes in your site’s security.
HOW TO FIX
All PHP errors are hidden..