Re: [PHP4BETA] cvs: php4 / main.c
[email protected] Wed, 31 May 2000 17:37:40 +0200
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
On Wed, May 31, 2000 at 06:09:35PM +0300, Zeev Suraski wrote:
> Why?
i think/believe/know that this is the behaviour that most
people would expect: user presses STOP, script stops.
if people use the default installation they should get this
nice feature, i think.
if you need your script to run even though i can no longer
produce output (eg to write accouning data at the page end,
and you don't care if the user prossed stop) you can
de/activate it with one function call.
do you think the "old" defautl was better?
why did i change it? because i just answered another mail
where somebody felt that he had been bitten because the
default is not-to-stop.
tc
>
> On Wed, 31 May 2000, Thies C. Arntzen wrote:
>
> > thies Wed May 31 07:02:36 2000 EDT
> >
> > Modified files:
> > /php4 main.c
> > Log:
> > @- ignore_user_abort=Off is now default. (Thies)
> >
> >
> > Index: php4/main.c
> > diff -u php4/main.c:1.257 php4/main.c:1.258
> > --- php4/main.c:1.257 Mon May 29 11:45:06 2000
> > +++ php4/main.c Wed May 31 07:02:36 2000
> > @@ -19,7 +19,7 @@
> > */
> >
> >
> > -/* $Id: main.c,v 1.257 2000/05/29 18:45:06 zeev Exp $ */
> > +/* $Id: main.c,v 1.258 2000/05/31 14:02:36 thies Exp $ */
> >
> >
> > #include <stdio.h>
> > @@ -201,7 +201,7 @@
> > STD_PHP_INI_BOOLEAN("error_append_string", NULL, PHP_INI_ALL, OnUpdateString, error_append_string, php_core_globals, core_globals)
> > STD_PHP_INI_BOOLEAN("error_prepend_string", NULL, PHP_INI_ALL, OnUpdateString, error_prepend_string, php_core_globals, core_globals)
> > STD_PHP_INI_BOOLEAN("expose_php", "1", PHP_INI_SYSTEM, OnUpdateBool, expose_php, php_core_globals, core_globals)
> > - STD_PHP_INI_BOOLEAN("ignore_user_abort", "1", PHP_INI_ALL, OnUpdateBool, ignore_user_abort, php_core_globals, core_globals)
> > + STD_PHP_INI_BOOLEAN("ignore_user_abort", "0", PHP_INI_ALL, OnUpdateBool, ignore_user_abort, php_core_globals, core_globals)
> > STD_PHP_INI_BOOLEAN("implicit_flush", "0", PHP_INI_PERDIR|PHP_INI_SYSTEM,OnUpdateBool, implicit_flush, php_core_globals, core_globals)
> > STD_PHP_INI_BOOLEAN("log_errors", "0", PHP_INI_ALL, OnUpdateBool, log_errors, php_core_globals, core_globals)
> > STD_PHP_INI_BOOLEAN("magic_quotes_gpc", "1", PHP_INI_ALL, OnUpdateBool, magic_quotes_gpc, php_core_globals, core_globals)
> >
> >
> >
> >
>
> --
> Zeev Suraski <[email protected]>
> http://www.zend.com/
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> To contact the list administrators, e-mail: [email protected]
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany