title: Is #!/usr/bin/env required to run PHP from command line?
body: <p>Often times when I see PHP that is meant to be ran from the command line, it will have this line <code>#!/usr/bin/env php</code> at the top of the file like this...</p>
  
  <pre><code>#!/usr/bin/env php
  &lt;?php
      // code
  ?&gt;
  </code></pre>
  
  <p>I was wanting to know if this is meant just for when the file is ran on a Linux/Unix system or is needed for running on Windows as well?</p>