Re: exit status
| From: | Lars Torben Wilson | Date: | Sun, 03 Mar 2002 19:52:19 +0000 |
| Subject: | Re: exit status | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86996@lists.php.net to get a copy of this message | ||
On Sun, 2002-03-03 at 04:16, David Apthorpe wrote:
> I'm using PHP on the command line. Is there any way to exit, whilst setting
> the exit status, without having it print out? For example, exit(2) will
> print "2".
>
> Thanks in advance,
>
> David Apthorpe
This will be in PHP 4.2.0.
--
Torben Wilson <torben@php.net>
http://www.thebuttlesschaps.com
http://www.hybrid17.com
http://www.inflatableeye.com
+1.604.709.0506