title: How do you get multiple error handlers in PHP?
body: <p>I tried this:</p>
  
  <pre><code>    set_error_handler('ReportError', E_NOTICE | E_USER_NOTICE);
      set_error_handler('ErrorHandler', E_ALL &amp; ~(E_NOTICE | E_USER_NOTICE));
  </code></pre>
  
  <p>But only the second one works. How do I have different error handlers for different types of errors?</p>