Overview

The Zend engine tracks basic information about the state of the HTTP connection between a remote client and a PHP script. The connection can be in one of the following states: NORMAL, ABORTED, or TIMEOUT. The connection state is usually NORMAL. If the remote client disconnects (or experiences certain kinds of network errors), the status will become ABORTED. If the PHP script runs past the time limit imposed by the set_time_limit() function or the corresponding max_execution_time in php.ini or the Apache conf file directive, the state will become TIMEOUT.

It’s possible for a connection to be in both the ABORTED and TIMEOUT states. This will happen in cases where ignore_user_abort has been set via the ignore_user_abort() function or the ...

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.