PHP connection_timeout() Function

The connection_timeout() function was deprecated and removed in PHP version 4.0.5.The connection_timeout() function checks whether the script has timed out.

int connection_timeout ( void )

Determines whether the script timed out.

Return Values

Returns 1 if the script timed out, 0 otherwise.