Heh, well, if everyone has any logic relying on this function, they should
know that it's faulty :)
At 03:25 4/3/2001, Sterling Hughes wrote:
>Am I right that your removing this function?
>
>uuhhhh, backwards compat?? ;-)
>
>-Sterling
>
>
> > zeev Sat Mar 3 17:17:22 2001 EDT
> >
> > Modified files:
> > /php4/ext/standard basic_functions.c basic_functions.h
> > Log:
> > this function will never return true...
> >
> >
> > Index: php4/ext/standard/basic_functions.c
> > diff -u php4/ext/standard/basic_functions.c:1.311
>php4/ext/standard/basic_functions.c:1.312
> > --- php4/ext/standard/basic_functions.c:1.311 Fri Mar 2 12:22:14 2001
> > +++ php4/ext/standard/basic_functions.c Sat Mar 3 17:17:21 2001
> > @@ -17,7 +17,7 @@
> >
>+----------------------------------------------------------------------+
> > */
> >
> > -/* $Id: basic_functions.c,v 1.311 2001/03/02 20:22:14 andrei Exp $ */
> > +/* $Id: basic_functions.c,v 1.312 2001/03/04 01:17:21 zeev Exp $ */
> >
> > #include "php.h"
> > #include "php_main.h"
> > @@ -368,7 +368,6 @@
> > 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)
> >
> > @@ -2148,16 +2147,6 @@
> > PLS_FETCH();
> >
> > RETURN_LONG(PG(connection_status)&PHP_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);
> > }
> > /* }}} */
> >
> > Index: php4/ext/standard/basic_functions.h
> > diff -u php4/ext/standard/basic_functions.h:1.74
>php4/ext/standard/basic_functions.h:1.75
> > --- php4/ext/standard/basic_functions.h:1.74 Sun Feb 25 22:07:16 2001
> > +++ php4/ext/standard/basic_functions.h Sat Mar 3 17:17:21 2001
> > @@ -17,7 +17,7 @@
> >
>+----------------------------------------------------------------------+
> > */
> >
> > -/* $Id: basic_functions.h,v 1.74 2001/02/26 06:07:16 andi Exp $ */
> > +/* $Id: basic_functions.h,v 1.75 2001/03/04 01:17:21 zeev Exp $ */
> >
> > #ifndef BASIC_FUNCTIONS_H
> > #define BASIC_FUNCTIONS_H
> > @@ -97,7 +97,6 @@
> > PHP_FUNCTION(print_r);
> >
> > PHP_FUNCTION(connection_aborted);
> > -PHP_FUNCTION(connection_timeout);
> > PHP_FUNCTION(connection_status);
> > PHP_FUNCTION(ignore_user_abort);
> >
> >
> >
> >
> > --
> > PHP CVS Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
--
Zeev Suraski <[EMAIL PROTECTED]>
CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]