title: Why not to use highest error reporting level in PHP?
body: <p>I want you to give reasons why someone should not use the highest possible error reporting level in PHP?</p>
  
  <p><strong>Ways to set highest level:</strong></p>
  
  <p>PHP &lt; 5.4:</p>
  
  <pre><code>error_reporting(E_ALL | E_STRICT);
  </code></pre>
  
  <p>PHP >= 5.4:</p>
  
  <pre><code>error_reporting(E_ALL);
  </code></pre>
  
  <p>PHP <em>all versions</em> (as recommended for <a href="http://docs.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting" rel="noreferrer">config files</a>):</p>
  
  <pre><code>error_reporting(2147483647);
  </code></pre>
  
  <p>PHP <em>all versions</em> (my config, -1 will contain all errors and is easy to remember)</p>
  
  <pre><code>error_reporting(-1);
  </code></pre>
  
  <p><strong>My experiences:</strong></p>
  
  <ul>
  <li>there is no reason for low reporting levels</li>
  <li>never used the <a href="http://docs.php.net/manual/en/language.operators.errorcontrol.php" rel="noreferrer">error control operator</a></li>
  <li>use to convert all errors to exceptions via <a href="http://docs.php.net/manual/en/function.set-error-handler.php" rel="noreferrer">set_error_handler</a> and customized exception class to overwrite file and line</li>
  </ul>