Re: [PHP-DEV] why does exit() print its argument? From: Markus Fischer (mfischer <email protected>)
Date: 09/28/01

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 ...

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>