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.
Returns 1 if the script timed out, 0 otherwise.