Latest web development tutorials
 

PHP connection_timeout() Function

< PHP Misc Reference


Definition and Usage

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.


Syntax

connection_timeout()

Technical Details

Return Value: Returns 1 if the script has timed out, otherwise it returns 0
PHP Version: 4+

< PHP Misc Reference