title: Best way to suppress php errors on production servers
body: <p>What is the best method of hiding php errors from being displayed on the browser?</p>
  
  <p>Would it be to use the following:</p>
  
  <pre><code>ini_set("display_errors", 1);
  </code></pre>
  
  <p>Any best practice tips would be appreciated as well!</p>
  
  <p>I am logging the errors, I just want to make sure that setting the display_errors value to off (or 0) will not prevent errors from being logged.</p>