Re: Re: cvs: php4 /main main.c /sapi/cgi cgi_main.c /sapi/cli php_cli.c /sapi/pi3web pi3web_sapi.c
| From: | Derick Rethans | Date: | Fri, 15 Feb 2002 08:49:11 +0000 |
| Subject: | Re: Re: cvs: php4 /main main.c /sapi/cgi cgi_main.c /sapi/cli php_cli.c /sapi/pi3web pi3web_sapi.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-9384@lists.php.net to get a copy of this message | ||
On Fri, 15 Feb 2002, Andi Gutmans wrote:
> At 09:25 AM 2/15/2002 +0100, derick@php.net wrote:
> >On Fri, 15 Feb 2002, Andi Gutmans wrote:
> >
> > > At 08:47 PM 2/14/2002 -0600, Andrei Zmievski wrote:
> > > >Andi Gutmans wrote:
> > > > > Exit status == -1 doesn't sound right to me. They can range from
> > > > > 0-255.
> > > >
> > > >That will only be set if there is a parse error, so I think it's safe.
> > >
> > > It has nothing to do with safe. exit() return values should be between
> > > 0-255. As we know this then why not do it right?
> >
> >Which exit value do you suggest then?
>
> 255?
Fine with me... but I wonder what this snippet is doing then (in the same
function:
} zend_catch {
exit_status = -1;
} zend_end_try();
Derick