Re: why does exit() print its argument?

From: Date: Fri, 28 Sep 2001 19:54:19 +0000
Subject: Re: why does exit() print its argument?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-66786@lists.php.net to get a copy of this message
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


« previous php.dev (#66786) next »