Re: Bug #14747: Return exitcodes to shell ($?)

From: Date: Fri, 28 Dec 2001 22:20:31 +0000
Subject: Re: Bug #14747: Return exitcodes to shell ($?)
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-75224@lists.php.net to get a copy of this message
consensus... well, it wasn't reached. I guess, the overloaded solution - exit(string, int) - is the last thing that was proposed and not too many people objected to. My understanding is that that's what will happen. Or am I wrong again? -being short this time- Vlad Markus Fischer wrote:
Yo guys, Derick, Zeev, Everybody who participated in the discussions ... where were we now? :-) *smiles* - Markus On Fri, Dec 28, 2001 at 09:39:37PM -0000, bernd.herbold@gmx.de wrote :
From:             bernd.herbold@gmx.de
Operating system: PHP version:      4.1.1
PHP Bug Type:     Feature/Change Request
Bug description: Return exitcodes to shell ($?) Hi, I tried to use PHP in connection with shellprogramming. I would be fine if you could return exit codes to shellscripts. So that you can use something like "if [ $? -eq 0 ]" to test if the PHP-Script had run succesful. So wouldn`t need to use Perl in future. -- Edit bug report at: http://bugs.php.net/?id=14747&edit=1 -- 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 (#75224) next »