title: Force HTTP status to 500 if any errors occur in PHP file
body: <p>First of all Im using PHP 5.4.3.</p>
  
  <p>The problem I have is that whenever an error occurs in a PHP file (such as parse error), it will display an error message in HTML <strong>and the HTTP status of the page will be 200</strong>.</p>
  
  <p>What I want to know is how can I set the HTTP status to 500 <strong>if any errors occur</strong> and to display no errors at all.</p>
  
  <p>Keep in mind that I do not want to display HTTP status 500 for every page, only for a few.</p>