When does a PHP script end?
Posted
by allyourcode
on Stack Overflow
See other posts from Stack Overflow
or by allyourcode
Published on 2010-04-20T23:13:20Z
Indexed on
2010/04/20
23:23 UTC
Read the original article
Hit count: 273
php
In my mind, a web app something that runs continuously; therefore, I'm confused by documentation pages that talk about the "end" of a PHP script (eg this one). Such references seem to refer to the end of each web request, but if the script ends there, doesn't that mean that the OS has to setup a whole new process for each request? That seems unlikely, because spinning up a whole new process is expensive, and be very inefficient for the whole site.
© Stack Overflow or respective owner