Re: why does exit() print its argument?
| From: | Boian Bonev | Date: | Sat, 29 Sep 2001 22:36:01 +0000 |
| Subject: | Re: why does exit() print its argument? | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66840@lists.php.net to get a copy of this message | ||
I'd propose to keep exit as_is, and add something like set_exit_status so:
<? set_exit_status(10);
exit(' as it was before ');
?>
b.
----- Original Message -----
From: "Zeev Suraski" <zeev@zend.com>
To: "Jason Greene" <jason@php.net>
Cc: "Jim Winstead" <jimw@apache.org>; <php-dev@lists.php.net>
Sent: Saturday, September 29, 2001 12:14 AM
Subject: Re: [PHP-DEV] why does exit() print its argument?
> At 22:17 28-09-01, Jason Greene wrote:
> >Why does exit still set the exit status then?
>
> Ok, apparently it does (didn't recall that it does). I'm not sure what
the
> logic behind this is.
>
> Zeev
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>