title: Is it possible to enable CORS in the PHP CLI server?
body: <p>Is it possible to enable CORS in the <a href="http://php.net/manual/en/features.commandline.webserver.php" rel="noreferrer">PHP CLI server</a> (and if so, how)?</p>
  
  <p>Edit: To address comments such as I should just include the header in my scripts, note that I do not have any PHP files/scripts in my code. I am simply using the PHP CLI server as a lightweight local hosting option. Thus ideally the answer will provide a CLI option, or show that there is none.</p>