Re: Question: Should exit() print out the integer exit-status?
| From: | benjamin yates | Date: | Thu, 20 Dec 2001 14:01:48 +0000 |
| Subject: | Re: Question: Should exit() print out the integer exit-status? | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-74577@lists.php.net to get a copy of this message | ||
> No offense Benjamin, but you don't understand the conversation. This is
> about running PHP apps in consoles, mail pre-processors and as cron jobs
> where exit status is needed. The only way to get an exit status is with
> exit.
wow i just tried it... i never realized that return wasn't setting the exit
code. ok then - i guess i'm all for system_exit() or similar, but why
wouldn't we want return to set it like it's C counterpart?
-benjamin