1
0
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:
Zeev Suraski
2001-03-04 01:17:21 +00:00
parent 0a98aa6ada
commit 0117c7848e
2 changed files with 0 additions and 12 deletions
-11
View File
@@ -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)
-1
View File
@@ -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);