Re: why does exit() print its argument?
| From: | Jim Winstead | Date: | Fri, 28 Sep 2001 20:14:56 +0000 |
| Subject: | Re: why does exit() print its argument? | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66788@lists.php.net to get a copy of this message | ||
wow, that's goofy. but i'll fix the documentation to reflect that
'die' is simply an alias for 'exit'.
jim
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.
>
> Zeev
>
> At 20:48 28-09-01, Jim Winstead wrote:
> >in Zend/zend_execute.c, line 2387, why are we printing the value
> >passed to exit? writing scripts in php for use outside of a web
> >server, it would be nice to be able to set the exit value without it
> >getting printed.
> >
> >jim
> >
> >--
> >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
>