mirror of
https://github.com/php/php-src.git
synced 2026-04-28 10:43:30 +02:00
this function will never return true...
This commit is contained in:
@@ -368,7 +368,6 @@ function_entry basic_functions[] = {
|
||||
PHP_FE(headers_sent, NULL)
|
||||
|
||||
PHP_FE(connection_aborted, NULL)
|
||||
PHP_FE(connection_timeout, NULL)
|
||||
PHP_FE(connection_status, NULL)
|
||||
PHP_FE(ignore_user_abort, NULL)
|
||||
|
||||
@@ -2151,16 +2150,6 @@ PHP_FUNCTION(connection_aborted)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto int connection_timeout(void)
|
||||
Returns true if script timed out */
|
||||
PHP_FUNCTION(connection_timeout)
|
||||
{
|
||||
PLS_FETCH();
|
||||
|
||||
RETURN_LONG(PG(connection_status)&PHP_CONNECTION_TIMEOUT);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto int connection_status(void)
|
||||
Returns the connection status bitfield */
|
||||
PHP_FUNCTION(connection_status)
|
||||
|
||||
@@ -97,7 +97,6 @@ PHP_FUNCTION(ini_restore);
|
||||
PHP_FUNCTION(print_r);
|
||||
|
||||
PHP_FUNCTION(connection_aborted);
|
||||
PHP_FUNCTION(connection_timeout);
|
||||
PHP_FUNCTION(connection_status);
|
||||
PHP_FUNCTION(ignore_user_abort);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user