Re: why does exit() print its argument?
| From: | (Stig Sæther Bakken) | Date: | Sun, 30 Sep 2001 08:10:23 +0000 |
| Subject: | Re: why does exit() print its argument? | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66848@lists.php.net to get a copy of this message | ||
[Zeev Suraski <zeev@zend.com>]
> The WTF factor is generally higher with magical stuff like that. It's
> not too far fetched to realize a situation where a 'WTF?' will be
> flown into the air, just because the error message happened to be "1",
> or "20"...
>
> shell_exit() is not a very good name. That's why I haven't failed to
> mention, every time I mentioned it, that a better name would be
> better. We can have exit_with_status(), silent_exit(), etc.
exit_with_status() is good.
- Stig
--
Stig Sæther Bakken <ssb@alltheweb.com>
Fast Search & Transfer ASA, Trondheim, Norway