title: php script exited after run http_response_code
body: <p>I got my server provisioned by other guy with php-fpm and apache httpd 2.4.</p>
  
  <p>when I put on the following page.</p>
  
  <pre><code>&lt;?php
  $result = http_response_code(200);
  var_dump($result);
  phpinfo();
  </code></pre>
  
  <p>it showed on the page the int(200) and php info page.</p>
  
  <p>however, when I change 200 to 404, it shows me the default 404 page configured in apache instead of executing the dumped content and php info page.</p>
  
  <p>That means the script exit after executing <code>http_response_code(404);</code> with out executing the left code.</p>
  
  <p>At first I think it was related with php-fpm but when I tried to setup a docker container with php-fpm and apache, it continue to execute the code  after <code>http_response_code(404);</code>.</p>
  
  <p>Now I got confused wondering if it's related with my apache configuration or php setting.</p>