title: PHP: How to send HTTP response code?
body: <p>I have a PHP script that needs to make responses with HTTP response codes (status-codes), like HTTP 200 OK, or some 4XX or 5XX code.</p>
  
  <p>How can I do this in PHP?</p>