title: Prevent calls to error_reporting() and/or ini_set('display_errors', 'On') from overriding php.ini settings
body: <p>I had this setting in my php.ini file:</p>
  
  <pre><code>error_reporting = E_ERROR|E_PARSE|E_CORE_ERROR|E_COMPILE_ERROR
  </code></pre>
  
  <p>But I was still receiving thousands of NOTICE and WARNING entries in the error log every minute. I of course realize I would better deal with those errors, but this is not my code and I am not being paid to do that, I just needed to get rid of those fat error_log files (Gbs per day). </p>
  
  <p>I searched through the code and removed all <code>error_reporting()</code> calls, and that did the trick but, is there a way to disallow <code>error_reporting()</code> from overriding php.ini settings?</p>
  
  <p>Could I also prevent calls to <code>ini_set('display_errors')</code> from overriding php.ini settings?</p>