title: Difference between executing PHP code from the commandline and from the HTTP side
body: <p>What is the difference between executing PHP code from the command line and from HTTP?</p>
  <p>Do they use the same executable such as (php.exe or php-cgi.exe (<a href="https://en.wikipedia.org/wiki/Apache_HTTP_Server" rel="nofollow noreferrer">Apache</a> or <a href="https://en.wikipedia.org/wiki/Internet_Information_Services" rel="nofollow noreferrer">IIS</a>))? Do the results differ when they are executing from the command line or HTTP?</p>