Re: why does exit() print its argument?
| From: | Markus Fischer | Date: | Fri, 28 Sep 2001 23:40:57 +0000 |
| Subject: | Re: why does exit() print its argument? | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66805@lists.php.net to get a copy of this message | ||
On Fri, Sep 28, 2001 at 09:54:19PM +0200, Zeev Suraski wrote :
> That's the way it's been since forever. The documentation is wrong - exit
> and die are identical.
> It came up numerous times, we can have a separate shell_exit or something
> along these lines in the CGI module.
I remember we had that discussion back, but still didn't get it.
I'ld vote for letting exit() behave like people expect it to; and
nuke the die() alias. There is die() and there will be exit()
like it should.
Hah, ok, throw you flames right now ;)
*hiding*
- Markus
ps: shell_exit() would look really very ugly ...