This chapter breifly explains how PHP handles connections.
PHP automatically maintains a connection status. There are four possible states:
- ABORTED and TIMEOUT
When a PHP script is running normally, the NORMAL state is active. If the remote client disconnects, the ABORTED state flag is turned on. A remote client disconnect is usually caused by the user hitting his STOP button. If the PHP-imposed time limit is hit, the TIMEOUT state flag is turned on.